diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 0222a9d..2dc93bb 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 with: ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: terraform fmt @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-22.04 needs: formatting steps: - - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 with: ref: ${{ github.ref }} - name: Render terraform docs and push changes back to PR branch