diff --git a/.github/workflows/docs-fmt-test.yml b/.github/workflows/docs-fmt-test.yml index a1dcd75..0bcdc7c 100644 --- a/.github/workflows/docs-fmt-test.yml +++ b/.github/workflows/docs-fmt-test.yml @@ -17,16 +17,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup go - uses: actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639 # v4.2.1 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version: '1.20.x' cache-dependency-path: tests/go.sum - name: Setup Terraform - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 + uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1 with: terraform_version: latest terraform_wrapper: false diff --git a/.github/workflows/end-to-end-test.yml b/.github/workflows/end-to-end-test.yml index 9f3c837..dbb7bc1 100644 --- a/.github/workflows/end-to-end-test.yml +++ b/.github/workflows/end-to-end-test.yml @@ -65,7 +65,7 @@ jobs: steps: - name: Checkout Bootstrap Modules - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: path: ${{ env.BOOTSTRAP_MODULE_FOLDER }} - name: Generate Matrix @@ -90,19 +90,19 @@ jobs: runs-on: ${{ matrix.operatingSystem }}-latest steps: - name: Checkout Bootstrap Modules - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: path: ${{ env.BOOTSTRAP_MODULE_FOLDER }} - name: Checkout PowerShell Module - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: ${{ env.POWERSHELL_MODULE_REPOSITORY }} ref: ${{ env.ALZ_POWERSHELL_BRANCH }} path: ${{ env.POWERSHELL_MODULE_FOLDER }} - name: Checkout Starter Modules for Bicep - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 if: ${{ matrix.infrastructureAsCode == 'bicep' }} with: repository: ${{ env.BICEP_STARTER_MODULE_REPOSITORY }} @@ -110,7 +110,7 @@ jobs: path: ${{ env.STARTER_MODULE_FOLDER }} - name: Checkout Starter Modules for Bicep Classic - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 if: ${{ matrix.infrastructureAsCode == 'bicep-classic' }} with: repository: ${{ env.BICEP_CLASSIC_STARTER_MODULE_REPOSITORY }} @@ -118,7 +118,7 @@ jobs: path: ${{ env.STARTER_MODULE_FOLDER }} - name: Checkout Starter Modules for Terraform - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 if: ${{ matrix.infrastructureAsCode == 'terraform' }} with: repository: ${{ env.TERRAFORM_STARTER_MODULE_REPOSITORY }} @@ -126,14 +126,14 @@ jobs: path: ${{ env.STARTER_MODULE_FOLDER }} - name: Setup Terraform - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 + uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1 with: terraform_version: ${{ matrix.terraformVersion }} terraform_wrapper: false if: ${{ matrix.terraformVersion != 'latest' }} - name: Azure login - uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 + uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0 with: client-id: ${{ vars.ARM_CLIENT_ID }} tenant-id: ${{ vars.ARM_TENANT_ID }} @@ -538,7 +538,7 @@ jobs: shell: pwsh - name: Setup Terraform - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 + uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1 with: terraform_version: "latest" terraform_wrapper: false @@ -562,7 +562,7 @@ jobs: ARM_USE_OIDC: true - name: Azure login for a new access token - uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 + uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0 with: client-id: ${{ vars.ARM_CLIENT_ID }} tenant-id: ${{ vars.ARM_TENANT_ID }} diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index 5331fba..936ef0a 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -12,6 +12,6 @@ jobs: name: Validate PR Title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aec8e0d..d741dc6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: name: Generate Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Zip and Tar run: | @@ -30,7 +30,7 @@ jobs: zip -r ../bootstrap_modules.zip . - name: Upload Artifacts - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: bootstrap_modules path: | @@ -38,7 +38,7 @@ jobs: bootstrap_modules.zip - name: Release - uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2 + uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3 if: startsWith(github.ref, 'refs/tags/') with: files: | diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index daec22a..8296018 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -33,12 +33,12 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 + uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4 with: results_file: results.sarif results_format: sarif @@ -60,7 +60,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v3.pre.node20 with: name: SARIF file path: results.sarif @@ -69,6 +69,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9 + uses: github/codeql-action/upload-sarif@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2 with: sarif_file: results.sarif diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index d9a9cfe..c9b6a15 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -15,14 +15,14 @@ jobs: name: super linter runs-on: ubuntu-latest steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Terraform - uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3 + uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e # v4.0.1 with: terraform_version: latest terraform_wrapper: false - name: Run github/super-linter/slim - uses: github/super-linter/slim@45fc0d88288beee4701c62761281edfee85655d7 # v5.0.0 + uses: github/super-linter/slim@b807e99ddd37e444d189cfd2c2ca1274d8ae8ef1 # v7 env: # Lint all code VALIDATE_ALL_CODEBASE: true