Capture dispatcher base SHA explicitly
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user