From 88db1cb3df7316716cfe4449dd6c00a8c09397d0 Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Sat, 5 Sep 2026 21:35:12 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/build-docs.yaml | 4 ++-- .github/workflows/deploy-site.yaml | 8 ++++---- .github/workflows/wiki.yml | 2 +- 4 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2c48305 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + groups: + github-actions: + patterns: ["*"] + schedule: + interval: "weekly" + cooldown: + default-days: 7 diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index dc60621..277257c 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -19,12 +19,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Update docs run: ./build/Update-CommandReference.ps1 shell: pwsh - name: Create PR to update repo - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0 with: title: Update command reference diff --git a/.github/workflows/deploy-site.yaml b/.github/workflows/deploy-site.yaml index 3b0c82a..3f7f66c 100644 --- a/.github/workflows/deploy-site.yaml +++ b/.github/workflows/deploy-site.yaml @@ -14,14 +14,14 @@ jobs: name: Build website runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: fetch-depth: 0 - name: Update command reference run: ./build/Update-CommandReference.ps1 shell: pwsh - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 20 cache: npm @@ -36,7 +36,7 @@ jobs: working-directory: ./website/ - name: Upload build artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 with: path: ./website/build @@ -58,4 +58,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index 5c10485..1c4a998 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout Code" - uses: actions/Checkout@v2 + uses: actions/Checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0 - name: "Generate Pages" run: | Install-Module -Name "Microsoft.Graph.Authentication" -RequiredVersion "2.8.0" -Force