From 89b348bd2c2e92aba2b1254bcf85c119b337a3b4 Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Sat, 5 Sep 2026 19:13:46 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 4 +++- .github/workflows/validate.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 77051e9..a7dd6dc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -23,6 +23,8 @@ updates: commit-message: prefix: gha include: scope + cooldown: + default-days: 7 # Terraform providers (azapi, azurerm, random) - package-ecosystem: terraform @@ -34,4 +36,4 @@ updates: labels: ["dependencies", "terraform"] commit-message: prefix: tf - include: scope + include: scope \ No newline at end of file diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 54491b4..f4d8aef 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -19,7 +19,7 @@ jobs: name: Bicep build + lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - name: Install Bicep CLI run: | curl -Lo bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64 @@ -42,8 +42,8 @@ jobs: run: working-directory: infra-terraform/infra steps: - - uses: actions/checkout@v6 - - uses: hashicorp/setup-terraform@v3 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 with: terraform_version: "1.10.0" terraform_wrapper: false @@ -58,8 +58,8 @@ jobs: name: Python compile + import check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-python@v5 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: "3.11" cache: pip @@ -74,7 +74,7 @@ jobs: name: Shellcheck + PSScriptAnalyzer runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - name: Install shellcheck run: sudo apt-get update && sudo apt-get install -y shellcheck - name: Run shellcheck on *.sh