From f27e75eaf7a68d590c82349e58458629a769b08c Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Date: Wed, 13 Mar 2024 14:07:07 +0100 Subject: [PATCH] chore(deps): update pinned versions of GitHub Actions --- .github/workflows/build.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- .github/workflows/upgrade-cdktf.yml | 4 ++-- .github/workflows/upgrade-main.yml | 8 ++++---- .github/workflows/upgrade-node.yml | 4 ++-- .projenrc.ts | 8 ++++---- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 769b9b7..b06077d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 with: node-version: 18.12.0 - name: Install dependencies @@ -38,7 +38,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "self_mutation_happened=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 with: name: .repo.patch path: .repo.patch @@ -63,7 +63,7 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Download patch - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 with: name: .repo.patch path: ${{ runner.temp }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 191ec39..af27394 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 with: node-version: 18.12.0 - name: Install dependencies @@ -56,7 +56,7 @@ jobs: continue-on-error: true - name: Upload artifact if: ${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 with: name: build-artifact path: dist @@ -69,11 +69,11 @@ jobs: contents: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 with: node-version: 18.12.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 with: name: build-artifact path: dist diff --git a/.github/workflows/upgrade-cdktf.yml b/.github/workflows/upgrade-cdktf.yml index b79df3e..91157ce 100644 --- a/.github/workflows/upgrade-cdktf.yml +++ b/.github/workflows/upgrade-cdktf.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 with: node-version: 18.12.0 - name: Install @@ -43,7 +43,7 @@ jobs: run: scripts/update-cdktf.sh ${{ steps.latest_version.outputs.value }} - name: Create draft pull request if: steps.current_version.outputs.short != steps.latest_version.outputs.short - uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 + uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc with: commit-message: "chore!: upgrade to cdktf ${{ steps.latest_version.outputs.value }}" branch: auto/upgrade-cdktf-${{ steps.latest_version.outputs.short }} diff --git a/.github/workflows/upgrade-main.yml b/.github/workflows/upgrade-main.yml index 9dd37fd..bc43fde 100644 --- a/.github/workflows/upgrade-main.yml +++ b/.github/workflows/upgrade-main.yml @@ -19,7 +19,7 @@ jobs: with: ref: main - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 with: node-version: 18.12.0 - name: Install dependencies @@ -33,7 +33,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 with: name: .repo.patch path: .repo.patch @@ -51,7 +51,7 @@ jobs: with: ref: main - name: Download patch - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 with: name: .repo.patch path: ${{ runner.temp }} @@ -63,7 +63,7 @@ jobs: git config user.email "github-team-tf-cdk@hashicorp.com" - name: Create Pull Request id: create-pr - uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 + uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc with: token: ${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- diff --git a/.github/workflows/upgrade-node.yml b/.github/workflows/upgrade-node.yml index 532398b..76b4e66 100644 --- a/.github/workflows/upgrade-node.yml +++ b/.github/workflows/upgrade-node.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 with: node-version: 18.12.0 - name: Install @@ -51,7 +51,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@153407881ec5c347639a548ade7d8ad1d6740e38 + uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc 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/.projenrc.ts b/.projenrc.ts index 292f99b..4c29c03 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -19,13 +19,13 @@ const shortName = name.replace(/^@?cdktf[-\/]/g, ""); const githubActionPinnedVersions = { "actions/checkout": "b4ffde65f46336ab88eb53be808477a3936bae11", // v4.1.1 - "actions/download-artifact": "9bc31d5ccc31df68ecc42ccf4149144866c47d8a", // v3.0.2 + "actions/download-artifact": "c850b930e6ba138125429b7e5c93fc707a7f8427", // v4.1.4 "actions/github-script": "60a0d83039c74a4aee543508d2ffcb1c3799cdea", // v7.0.1 - "actions/setup-node": "8f152de45cc393bb48ce5d89d36b731f54556e65", // v4.0.0 - "actions/upload-artifact": "a8a3f3ad30e3422c9c7b888a15615d19a852ae32", // v3.1.3 + "actions/setup-node": "60edb5dd545a775178f52524783378180af0d1f8", // v4.0.2 + "actions/upload-artifact": "5d5d22a31266ced268874388b861e4b58bb5c2f3", // v4.3.1 "amannn/action-semantic-pull-request": "e9fabac35e210fea40ca5b14c0da95a099eff26f", // v5.4.0 - "peter-evans/create-pull-request": "153407881ec5c347639a548ade7d8ad1d6740e38", // v5.0.2 + "peter-evans/create-pull-request": "a4f52f8033a6168103c2538976c07b467e8163bc", // v6.0.1 }; const constructsVersion = "10.3.0";