Skip to content

Commit 8aadbff

Browse files
justin808claude
andcommitted
Skip Pro CI workflows for Dependabot PRs (#2171)
Dependabot PRs can't access the REACT_ON_RAILS_PRO_LICENSE secret, causing all Pro workflows to fail. Add an actor check to the detect-changes job in each Pro workflow so the entire workflow is skipped when triggered by Dependabot. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c8267da commit 8aadbff

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ defaults:
2626

2727
jobs:
2828
detect-changes:
29+
# Skip for Dependabot PRs — they can't access the Pro license secret
30+
if: github.actor != 'dependabot[bot]'
2931
permissions:
3032
contents: read
3133
actions: read

.github/workflows/pro-lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ defaults:
2626

2727
jobs:
2828
detect-changes:
29+
# Skip for Dependabot PRs — they can't access the Pro license secret
30+
if: github.actor != 'dependabot[bot]'
2931
permissions:
3032
contents: read
3133
actions: read

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ defaults:
2626

2727
jobs:
2828
detect-changes:
29+
# Skip for Dependabot PRs — they can't access the Pro license secret
30+
if: github.actor != 'dependabot[bot]'
2931
permissions:
3032
contents: read
3133
actions: read

0 commit comments

Comments
 (0)