Skip to content

Commit 6ff70ca

Browse files
vaindclaude
andcommitted
fix: revert to local action paths for workflow tests
GitHub Actions context variables don't work in the uses field. Added back checkout steps for local action execution. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 1e8c477 commit 6ff70ca

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/danger-workflow-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
1414
test-danger-pr-analysis:
1515
runs-on: ubuntu-latest
1616
steps:
17+
- uses: actions/checkout@v4
18+
1719
- name: Run danger action
1820
id: danger
19-
uses: getsentry/github-workflows/danger@${{ github.sha }}
21+
uses: ./danger
2022

2123
- name: Validate danger outputs
2224
env:

.github/workflows/workflow-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ jobs:
1313
test-updater-pr-creation:
1414
runs-on: ubuntu-latest
1515
steps:
16+
- uses: actions/checkout@v4
17+
1618
- name: Run updater action
1719
id: updater
18-
uses: getsentry/github-workflows/updater@${{ github.sha }}
20+
uses: ./updater
1921
with:
2022
path: updater/tests/sentry-cli.properties
2123
name: WORKFLOW-TEST-DEPENDENCY-DO-NOT-MERGE
@@ -74,9 +76,11 @@ jobs:
7476
test-updater-no-changes:
7577
runs-on: macos-latest
7678
steps:
79+
- uses: actions/checkout@v4
80+
7781
- name: Run updater action
7882
id: updater
79-
uses: getsentry/github-workflows/updater@${{ github.sha }}
83+
uses: ./updater
8084
with:
8185
path: updater/tests/workflow-args.sh
8286
name: Workflow args test script

0 commit comments

Comments
 (0)