diff --git a/.github/workflows/rebuild-readme-command.yml b/.github/workflows/rebuild-readme-command.yml index 9bcd769a..971ab5e1 100644 --- a/.github/workflows/rebuild-readme-command.yml +++ b/.github/workflows/rebuild-readme-command.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: # Checkout the pull request branch - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }} diff --git a/.github/workflows/terraform-fmt-command.yml b/.github/workflows/terraform-fmt-command.yml index 094c1673..80dde6f0 100644 --- a/.github/workflows/terraform-fmt-command.yml +++ b/.github/workflows/terraform-fmt-command.yml @@ -10,7 +10,7 @@ jobs: container: cloudposse/build-harness:slim-latest steps: # Checkout the pull request branch - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }} diff --git a/.github/workflows/terratest-command.yml b/.github/workflows/terratest-command.yml index 2c7007b1..e0c08c44 100644 --- a/.github/workflows/terratest-command.yml +++ b/.github/workflows/terratest-command.yml @@ -43,7 +43,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} - name: "Checkout code for ChatOps" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }} diff --git a/github/auto-approve/.github/workflows/ci.yml b/github/auto-approve/.github/workflows/ci.yml index ce202bdb..2f11c998 100644 --- a/github/auto-approve/.github/workflows/ci.yml +++ b/github/auto-approve/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup nodejs uses: actions/setup-node@v3 diff --git a/github/auto-assign/.github/workflows/test.yml b/github/auto-assign/.github/workflows/test.yml index a7b08fd2..1fc69db1 100644 --- a/github/auto-assign/.github/workflows/test.yml +++ b/github/auto-assign/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: build-and-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: setup node uses: actions/setup-node@v3 diff --git a/github/create-or-update-comment/.github/workflows/ci.yml b/github/create-or-update-comment/.github/workflows/ci.yml index 1da1e760..5927d5fd 100644 --- a/github/create-or-update-comment/.github/workflows/ci.yml +++ b/github/create-or-update-comment/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: outputs: issue-number: ${{ steps.vars.outputs.issue-number }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 16.x @@ -54,7 +54,7 @@ jobs: matrix: target: [built, committed] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - if: matrix.target == 'built' || github.event_name == 'pull_request' uses: actions/download-artifact@v3 with: @@ -113,7 +113,7 @@ jobs: needs: [test] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 with: name: dist diff --git a/github/create-or-update-comment/.github/workflows/test-command.yml b/github/create-or-update-comment/.github/workflows/test-command.yml index eb5ec6cc..f506f77b 100644 --- a/github/create-or-update-comment/.github/workflows/test-command.yml +++ b/github/create-or-update-comment/.github/workflows/test-command.yml @@ -18,7 +18,7 @@ jobs: echo "branch=$branch" >> $GITHUB_OUTPUT # Checkout the branch to test - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ steps.vars.outputs.repository }} ref: ${{ steps.vars.outputs.branch }} diff --git a/github/create-pull-request/.github/workflows/ci.yml b/github/create-pull-request/.github/workflows/ci.yml index 303eb805..2dc4c4b5 100644 --- a/github/create-pull-request/.github/workflows/ci.yml +++ b/github/create-pull-request/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 16.x @@ -46,7 +46,7 @@ jobs: matrix: target: [built, committed] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: main - if: matrix.target == 'built' || github.event_name == 'pull_request' @@ -115,7 +115,7 @@ jobs: needs: [test] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 with: name: dist diff --git a/github/create-pull-request/.github/workflows/cpr-example-command.yml b/github/create-pull-request/.github/workflows/cpr-example-command.yml index 4c9e5401..e132d14e 100644 --- a/github/create-pull-request/.github/workflows/cpr-example-command.yml +++ b/github/create-pull-request/.github/workflows/cpr-example-command.yml @@ -6,7 +6,7 @@ jobs: createPullRequest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Make changes to pull request run: date +%s > report.txt diff --git a/github/repository-dispatch/.github/workflows/ci.yml b/github/repository-dispatch/.github/workflows/ci.yml index 73855b28..c10ce74f 100644 --- a/github/repository-dispatch/.github/workflows/ci.yml +++ b/github/repository-dispatch/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 16.x @@ -45,7 +45,7 @@ jobs: matrix: target: [built, committed] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - if: matrix.target == 'built' || github.event_name == 'pull_request' uses: actions/download-artifact@v3 with: @@ -73,7 +73,7 @@ jobs: needs: [test] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 with: name: dist diff --git a/github/repository-dispatch/.github/workflows/on-repository-dispatch.yml b/github/repository-dispatch/.github/workflows/on-repository-dispatch.yml index 5ee6a3e8..c7c77088 100644 --- a/github/repository-dispatch/.github/workflows/on-repository-dispatch.yml +++ b/github/repository-dispatch/.github/workflows/on-repository-dispatch.yml @@ -11,7 +11,7 @@ jobs: PAYLOAD_CONTEXT: ${{ toJson(github.event.client_payload) }} run: echo "$PAYLOAD_CONTEXT" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event.client_payload.ref != '' with: ref: ${{ github.event.client_payload.ref }} diff --git a/github/slash-command-dispatch/.github/workflows/ci.yml b/github/slash-command-dispatch/.github/workflows/ci.yml index 5e530d2e..29adbf43 100644 --- a/github/slash-command-dispatch/.github/workflows/ci.yml +++ b/github/slash-command-dispatch/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 16.x @@ -33,7 +33,7 @@ jobs: needs: [build] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 with: name: dist diff --git a/github/slash-command-dispatch/.github/workflows/slash-command-dispatch.yml b/github/slash-command-dispatch/.github/workflows/slash-command-dispatch.yml index d4d1c6fc..010e7c91 100644 --- a/github/slash-command-dispatch/.github/workflows/slash-command-dispatch.yml +++ b/github/slash-command-dispatch/.github/workflows/slash-command-dispatch.yml @@ -11,7 +11,7 @@ jobs: # Checkout is necessary here due to referencing a local action. # It's also necessary when using the 'config-from-file' option. # Otherwise, avoid using checkout to keep this workflow fast. - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Basic configuration - name: Slash Command Dispatch