From a6d62ea22a76326d08f3873124059fa390337423 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Date: Mon, 6 Jan 2025 17:55:44 +0100 Subject: [PATCH] chore(deps): update pinned versions of GitHub Actions --- .github/workflows/add-codeowners.yml | 6 +++--- .github/workflows/add-copyright-headers.yml | 2 +- .github/workflows/add-license.yml | 6 +++--- .github/workflows/auto-approve.yml | 2 +- .github/workflows/automerge.yml | 2 +- .github/workflows/delete-old-branches.yml | 4 ++-- .github/workflows/deploy-cdktf-stacks.yml | 4 ++-- .github/workflows/deploy.yml | 2 +- .github/workflows/deprecate-provider.yml | 8 ++++---- .github/workflows/diff-cdktf-stacks.yml | 4 ++-- .github/workflows/diff.yml | 2 +- .github/workflows/upgrade-actions.yml | 4 ++-- .github/workflows/upgrade-cdktf.yml | 10 +++++----- .github/workflows/upgrade-dependencies.yaml | 4 ++-- .github/workflows/upgrade-node.yml | 4 ++-- .github/workflows/upgrade-repositories.yml | 6 +++--- .github/workflows/upgrade-terraform.yml | 6 +++--- 17 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/add-codeowners.yml b/.github/workflows/add-codeowners.yml index 50fbf3e..a3f795e 100644 --- a/.github/workflows/add-codeowners.yml +++ b/.github/workflows/add-codeowners.yml @@ -11,7 +11,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: set-matrix run: | provider=$(jq -rcM "{ provider: keys }" provider.json) @@ -27,11 +27,11 @@ jobs: max-parallel: 10 steps: - name: Checkout this repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: main - name: Checkout cdktf-provider-${{ matrix.provider }}-go Repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: cdktf/cdktf-provider-${{ matrix.provider }}-go token: ${{ secrets.GH_COMMENT_TOKEN }} diff --git a/.github/workflows/add-copyright-headers.yml b/.github/workflows/add-copyright-headers.yml index ff336a1..19d7c31 100644 --- a/.github/workflows/add-copyright-headers.yml +++ b/.github/workflows/add-copyright-headers.yml @@ -16,7 +16,7 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/add-license.yml b/.github/workflows/add-license.yml index 9280272..9b50837 100644 --- a/.github/workflows/add-license.yml +++ b/.github/workflows/add-license.yml @@ -11,7 +11,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: set-matrix run: | provider=$(jq -rcM "{ provider: keys }" provider.json) @@ -27,12 +27,12 @@ jobs: max-parallel: 10 steps: - name: Checkout this repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: main - name: Checkout cdktf-provider-${{ matrix.provider }}-go Repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: cdktf/cdktf-provider-${{ matrix.provider }}-go token: ${{ secrets.GH_COMMENT_TOKEN }} diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 3c08f1c..3d81fdd 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -16,7 +16,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index dc4f2cf..e7f3c6c 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -16,7 +16,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/delete-old-branches.yml b/.github/workflows/delete-old-branches.yml index f134130..e53d74c 100644 --- a/.github/workflows/delete-old-branches.yml +++ b/.github/workflows/delete-old-branches.yml @@ -9,7 +9,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: set-matrix run: | provider=$(jq -rcM "{ provider: keys }" provider.json) @@ -24,7 +24,7 @@ jobs: max-parallel: 10 steps: - name: Checkout cdktf-provider-${{ matrix.provider }} Repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: cdktf/cdktf-provider-${{ matrix.provider }} token: ${{ secrets.GH_COMMENT_TOKEN }} diff --git a/.github/workflows/deploy-cdktf-stacks.yml b/.github/workflows/deploy-cdktf-stacks.yml index 8174849..a13e322 100644 --- a/.github/workflows/deploy-cdktf-stacks.yml +++ b/.github/workflows/deploy-cdktf-stacks.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Terraform uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd @@ -31,7 +31,7 @@ jobs: cli_config_credentials_token: ${{ secrets.TF_CLOUD_TOKEN }} terraform_wrapper: false - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: node-version: "18" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 78bd879..e53b74a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: set-matrix run: | stack=$(jq -rcM ".stacks | { stack: keys }" sharded-stacks.json) diff --git a/.github/workflows/deprecate-provider.yml b/.github/workflows/deprecate-provider.yml index 3dfef7e..b3c08f4 100644 --- a/.github/workflows/deprecate-provider.yml +++ b/.github/workflows/deprecate-provider.yml @@ -17,7 +17,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: ${{ env.PROVIDER_REPO }} token: ${{ secrets.GH_TOKEN_ACTIONS_UPDATER }} @@ -32,7 +32,7 @@ jobs: run: npm pkg set version="0.0.0" - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: branch: auto/deprecate-${{ inputs.provider }} base: main @@ -73,7 +73,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install run: yarn install - name: Remove the provider from our configuration @@ -82,7 +82,7 @@ jobs: sed -i '/"'"$PROVIDER"'"/d' sharded-stacks.json sed -i '/"'"$PROVIDER"'"/d' providersWithCustomRunners.json - name: Create Pull Request - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: branch: auto/deprecate-${{ inputs.provider }} base: main diff --git a/.github/workflows/diff-cdktf-stacks.yml b/.github/workflows/diff-cdktf-stacks.yml index b363621..00662d7 100644 --- a/.github/workflows/diff-cdktf-stacks.yml +++ b/.github/workflows/diff-cdktf-stacks.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ inputs.ref }} repository: ${{ inputs.repository }} @@ -40,7 +40,7 @@ jobs: terraform_wrapper: false - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: node-version: "18" diff --git a/.github/workflows/diff.yml b/.github/workflows/diff.yml index ce12fbd..0f0f85b 100644 --- a/.github/workflows/diff.yml +++ b/.github/workflows/diff.yml @@ -10,7 +10,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/upgrade-actions.yml b/.github/workflows/upgrade-actions.yml index 2403725..f55319e 100644 --- a/.github/workflows/upgrade-actions.yml +++ b/.github/workflows/upgrade-actions.yml @@ -10,7 +10,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup TSCCR helper uses: hashicorp/setup-tsccr-helper@v1 with: @@ -21,7 +21,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ACTIONS_UPDATER }} - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: branch: auto/upgrade-actions base: main diff --git a/.github/workflows/upgrade-cdktf.yml b/.github/workflows/upgrade-cdktf.yml index cc1c7c7..58be408 100644 --- a/.github/workflows/upgrade-cdktf.yml +++ b/.github/workflows/upgrade-cdktf.yml @@ -12,7 +12,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install run: yarn install - name: Get current CDKTF version @@ -44,7 +44,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Do the upgrade run: | sed -i "s/cdktfVersion: \".*\",/cdktfVersion: \"^$NEW_CDKTF_VERSION\",/" ./projenrc.template.js @@ -52,7 +52,7 @@ jobs: NEW_CDKTF_VERSION: ${{ needs.check_versions.outputs.latest_version }} - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: branch: auto/upgrade-providers-cdktf-${{ needs.check_versions.outputs.latest_version_minor }} base: main @@ -76,7 +76,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install run: yarn install - name: Do the upgrade @@ -86,7 +86,7 @@ jobs: env: NEW_CDKTF_VERSION: ${{ needs.check_versions.outputs.latest_version }} - name: Create Pull Request - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: branch: auto/upgrade-self-cdktf-${{ needs.check_versions.outputs.latest_version_minor }} base: main diff --git a/.github/workflows/upgrade-dependencies.yaml b/.github/workflows/upgrade-dependencies.yaml index 25cb6e5..34f79d5 100644 --- a/.github/workflows/upgrade-dependencies.yaml +++ b/.github/workflows/upgrade-dependencies.yaml @@ -12,7 +12,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install run: yarn install - name: Run yarn outdated @@ -35,7 +35,7 @@ jobs: - name: Do the upgrade run: yarn upgrade - name: Create Pull Request - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: branch: auto/upgrade-dependencies base: main diff --git a/.github/workflows/upgrade-node.yml b/.github/workflows/upgrade-node.yml index 079fddd..4fd03e5 100644 --- a/.github/workflows/upgrade-node.yml +++ b/.github/workflows/upgrade-node.yml @@ -12,7 +12,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install run: yarn install - name: Get current Node.js version @@ -50,7 +50,7 @@ jobs: echo "short=$NEW_NODEJS_VERSION_SHORT" >> $GITHUB_OUTPUT - name: Create Pull Request if: env.CURRENT_NODEJS_VERSION_SHORT < env.NEW_NODEJS_VERSION_SHORT - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: commit-message: "chore!: increase minimum supported Node.js version to ${{ steps.latest_version.outputs.short }}" branch: auto/upgrade-node-${{ steps.latest_version.outputs.short }} diff --git a/.github/workflows/upgrade-repositories.yml b/.github/workflows/upgrade-repositories.yml index 2d7ec42..92224aa 100644 --- a/.github/workflows/upgrade-repositories.yml +++ b/.github/workflows/upgrade-repositories.yml @@ -11,7 +11,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: set-matrix run: | provider=$(jq -rcM "{ provider: keys }" provider.json) @@ -29,11 +29,11 @@ jobs: max-parallel: 5 steps: - name: Checkout this repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: main - name: Checkout cdktf-provider-${{ matrix.provider }} Repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: cdktf/cdktf-provider-${{ matrix.provider }} token: ${{ secrets.GH_COMMENT_TOKEN }} diff --git a/.github/workflows/upgrade-terraform.yml b/.github/workflows/upgrade-terraform.yml index 9945eef..a4a771d 100644 --- a/.github/workflows/upgrade-terraform.yml +++ b/.github/workflows/upgrade-terraform.yml @@ -12,7 +12,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install run: yarn install - name: Get current Terraform version @@ -42,7 +42,7 @@ jobs: run: npm pkg set terraform.version="$NEW_TERRAFORM_VERSION" - name: Create pull request for a new patch release if: steps.current_version.outputs.minor == steps.latest_version.outputs.minor - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: base: main branch: auto/upgrade-terraform-1-${{ steps.latest_version.outputs.minor }} @@ -58,7 +58,7 @@ jobs: delete-branch: true - name: Create pull request for a new minor version if: steps.current_version.outputs.minor != steps.latest_version.outputs.minor - uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: base: main branch: auto/upgrade-terraform-1-${{ steps.latest_version.outputs.minor }}