Capture dispatcher base SHA explicitly

This commit is contained in:
Glenn Jocher
2026-07-24 12:59:33 +02:00
parent 7b66c3929a
commit d6b971794e
+5 -3
View File
@@ -20,15 +20,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
sha: ${{ steps.checkout.outputs.commit }}
sha: ${{ steps.sha.outputs.value }}
steps:
- id: checkout
uses: actions/checkout@v7
- uses: actions/checkout@v7
with:
repository: ${{ inputs.repo }}
token: ${{ secrets._GITHUB_TOKEN }}
persist-credentials: false
- id: sha
run: echo "value=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- run: mv .git "$RUNNER_TEMP/git"
- run: npm install -g @anthropic-ai/[email protected]