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