Fix the checkout sha for enos-run workflow (#18445)
- enos-run workflow will checkout the `main` branch by default, which would pass incorrect metadata to the workflow so we use the `revision` passed by the calling workflow to checkout the sha and get the relavant metadata` Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
This commit is contained in:
parent
db801b9f03
commit
360eaeb865
|
@ -73,6 +73,8 @@ jobs:
|
|||
MATRIX_TEST_GROUP: ${{ inputs.matrix-test-group }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ inputs.vault-revision }}
|
||||
- id: metadata
|
||||
run: |
|
||||
echo "build-date=$(make ci-get-date)" >> $GITHUB_OUTPUT
|
||||
|
|
Loading…
Reference in New Issue