Skip to content

Commit dfbe9e0

Browse files
committed
Scope Dependabot skip condition to pull_request events
1 parent 8aadbff commit dfbe9e0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pro-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defaults:
2727
jobs:
2828
detect-changes:
2929
# Skip for Dependabot PRs — they can't access the Pro license secret
30-
if: github.actor != 'dependabot[bot]'
30+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
3131
permissions:
3232
contents: read
3333
actions: read

.github/workflows/pro-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defaults:
2727
jobs:
2828
detect-changes:
2929
# Skip for Dependabot PRs — they can't access the Pro license secret
30-
if: github.actor != 'dependabot[bot]'
30+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
3131
permissions:
3232
contents: read
3333
actions: read

.github/workflows/pro-test-package-and-gem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defaults:
2727
jobs:
2828
detect-changes:
2929
# Skip for Dependabot PRs — they can't access the Pro license secret
30-
if: github.actor != 'dependabot[bot]'
30+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
3131
permissions:
3232
contents: read
3333
actions: read

0 commit comments

Comments
 (0)