Skip to content

Commit 256ddc7

Browse files
hsbtclaude
andcommitted
Skip Windows workflows for dependabot PRs unless Vcpkg update
Vcpkg updates affect Windows build dependencies, so windows.yml and mingw.yml should run for Vcpkg dependency PRs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c968f36 commit 256ddc7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/mingw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
|| contains(github.event.head_commit.message, '[DOC]')
8080
|| contains(github.event.pull_request.title, '[DOC]')
8181
|| contains(github.event.pull_request.labels.*.name, 'Documentation')
82-
|| (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]')
82+
|| (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' && !startsWith(github.head_ref, 'dependabot/vcpkg'))
8383
)}}
8484
8585
steps:

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
|| contains(github.event.head_commit.message, '[DOC]')
4747
|| contains(github.event.pull_request.title, '[DOC]')
4848
|| contains(github.event.pull_request.labels.*.name, 'Documentation')
49-
|| (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]')
49+
|| (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' && !startsWith(github.head_ref, 'dependabot/vcpkg'))
5050
)}}
5151
5252
name: Windows ${{ matrix.os }}/Visual C++ ${{ matrix.vc }} (${{ matrix.test_task }})

0 commit comments

Comments
 (0)