Skip to content

Commit 01155ad

Browse files
authored
chore: exception for renovate bot (#133)
1 parent 10c39a7 commit 01155ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with: { clang-format-version: "18" }
2626

2727
test-windows:
28-
if: github.event_name == 'merge_group'
28+
if: (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'renovate[bot]') || (github.event_name == 'merge_group' && github.event.pull_request.user.login != 'renovate[bot]')
2929
runs-on: windows-latest
3030
steps:
3131
- uses: actions/cache@v4
@@ -41,7 +41,7 @@ jobs:
4141
working-directory: test
4242

4343
test-linux:
44-
if: github.event_name == 'merge_group'
44+
if: (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'renovate[bot]') || (github.event_name == 'merge_group' && github.event.pull_request.user.login != 'renovate[bot]')
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/cache@v4

0 commit comments

Comments
 (0)