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 runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
outputs: outputs:
sha: ${{ steps.checkout.outputs.commit }} sha: ${{ steps.sha.outputs.value }}
steps: steps:
- id: checkout - uses: actions/checkout@v7
uses: actions/checkout@v7
with: with:
repository: ${{ inputs.repo }} repository: ${{ inputs.repo }}
token: ${{ secrets._GITHUB_TOKEN }} token: ${{ secrets._GITHUB_TOKEN }}
persist-credentials: false persist-credentials: false
- id: sha
run: echo "value=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- run: mv .git "$RUNNER_TEMP/git" - run: mv .git "$RUNNER_TEMP/git"
- run: npm install -g @anthropic-ai/[email protected] - run: npm install -g @anthropic-ai/[email protected]