From 0cb02fd60aed0531487495043e4cc074d1ba4015 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 26 Jun 2023 23:31:54 -0230 Subject: [PATCH] Add checkout step --- .github/workflows/update-lavamoat-policies.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/update-lavamoat-policies.yml b/.github/workflows/update-lavamoat-policies.yml index c81e9bb056f8..b0e4fcb51019 100644 --- a/.github/workflows/update-lavamoat-policies.yml +++ b/.github/workflows/update-lavamoat-policies.yml @@ -27,6 +27,8 @@ jobs: # Early exit if this is a fork, since later steps are skipped for forks if: ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' }} steps: + - name: Checkout repository + uses: actions/checkout@v3 - name: Checkout pull request run: gh pr checkout "${PR_NUMBER}" env: @@ -46,6 +48,8 @@ jobs: needs: - prepare steps: + - name: Checkout repository + uses: actions/checkout@v3 - name: Checkout pull request run: gh pr checkout "${PR_NUMBER}" env: @@ -77,6 +81,8 @@ jobs: needs: - prepare steps: + - name: Checkout repository + uses: actions/checkout@v3 - name: Checkout pull request run: gh pr checkout "${PR_NUMBER}" env: @@ -109,6 +115,8 @@ jobs: # Ensure forks don't get access to the LavaMoat update token if: ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' }} steps: + - name: Checkout repository + uses: actions/checkout@v3 - name: Checkout pull request run: gh pr checkout "${PR_NUMBER}" env: