Skip to content

Commit 4865729

Browse files
committed
Modify workflows for renovate
1 parent 2cae3d4 commit 4865729

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/checkBuild.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272

7373
code-style:
7474
runs-on: ubuntu-latest
75+
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
7576

7677
strategy:
7778
matrix:

.github/workflows/sonar.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
sonar:
2828
name: SonarCloud Scan
2929
runs-on: ubuntu-latest
30-
# Dependabot PRs have no access to secrets (SONAR_TOKEN) -> Ignore them
31-
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'dependabot/') }}
30+
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
3231
steps:
3332
- uses: actions/checkout@v4
3433
with:

0 commit comments

Comments
 (0)