From 83b45be7bc9bd2b33692b060b53e41c8aad4884b Mon Sep 17 00:00:00 2001 From: Jaymala Date: Fri, 16 Dec 2022 15:19:10 -0500 Subject: [PATCH] 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 Signed-off-by: Jaymala Sinha --- .github/workflows/enos-run.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/enos-run.yml b/.github/workflows/enos-run.yml index a6e02d08e9..476d1ebd3c 100644 --- a/.github/workflows/enos-run.yml +++ b/.github/workflows/enos-run.yml @@ -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