Skip to content

Commit 2e6c9c7

Browse files
vaindclaude
andcommitted
fix: use dynamic repository paths in workflow tests
Replace local action paths with dynamic GitHub context variables to test actions as external consumers would use them. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent b74ba7f commit 2e6c9c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: Run danger action
1919
id: danger
20-
uses: ./danger
20+
uses: ${{ github.repository }}/danger@${{ github.sha }}
2121

2222
- name: Validate danger outputs
2323
env:

.github/workflows/workflow-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Run updater action
1818
id: updater
19-
uses: ./updater
19+
uses: ${{ github.repository }}/updater@${{ github.sha }}
2020
with:
2121
path: updater/tests/sentry-cli.properties
2222
name: WORKFLOW-TEST-DEPENDENCY-DO-NOT-MERGE
@@ -77,7 +77,7 @@ jobs:
7777
steps:
7878
- name: Run updater action
7979
id: updater
80-
uses: ./updater
80+
uses: ${{ github.repository }}/updater@${{ github.sha }}
8181
with:
8282
path: updater/tests/workflow-args.sh
8383
name: Workflow args test script

0 commit comments

Comments
 (0)