diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c858e8b..6972db8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,6 +10,8 @@ updates: labels: - dependencies - github-actions + cooldown: + default-days: 7 - package-ecosystem: "npm" directory: "/site" @@ -45,4 +47,4 @@ updates: - "patch" labels: - dependencies - - scripts + - scripts \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1905bf..6ee98c5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,10 +22,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Node.js - uses: actions/setup-node@v7 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 22 cache: npm @@ -42,7 +42,7 @@ jobs: run: npm ci - name: Azure login (OIDC) - uses: azure/login@v3 + uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0 with: client-id: ${{ secrets.AZURE_CLIENT_ID }} tenant-id: ${{ secrets.AZURE_TENANT_ID }} @@ -78,7 +78,7 @@ jobs: run: touch ./site/dist/.nojekyll - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0 with: branch: gh-pages folder: ./site/dist diff --git a/.github/workflows/preview-cleanup.yml b/.github/workflows/preview-cleanup.yml index e110e61..8374c30 100644 --- a/.github/workflows/preview-cleanup.yml +++ b/.github/workflows/preview-cleanup.yml @@ -23,7 +23,7 @@ jobs: contents: write steps: - name: Checkout gh-pages branch - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: gh-pages diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml index 1f7bb4e..d2ed9ca 100644 --- a/.github/workflows/preview-deploy.yml +++ b/.github/workflows/preview-deploy.yml @@ -37,7 +37,7 @@ jobs: actions: read steps: - name: Download PR metadata artifact - uses: actions/download-artifact@v8 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: pr-metadata path: ./pr-meta @@ -45,7 +45,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Download built site artifact - uses: actions/download-artifact@v8 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: preview-dist path: ./site-dist @@ -62,7 +62,7 @@ jobs: - name: Get PR author id: pr - uses: actions/github-script@v9 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ steps.metadata.outputs.pr_number }} with: @@ -78,7 +78,7 @@ jobs: # Requires the FORGEBOOK_TEAM_READ_TOKEN repo secret — see comment at top of file. - name: Check forgebook-contributors team membership id: membership - uses: actions/github-script@v9 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_AUTHOR: ${{ steps.pr.outputs.author }} with: @@ -103,7 +103,7 @@ jobs: - name: Deploy preview to GitHub Pages subdirectory if: steps.membership.outputs.is_member == 'true' - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0 with: branch: gh-pages folder: ./site-dist @@ -112,7 +112,7 @@ jobs: - name: Comment PR with preview URL if: steps.membership.outputs.is_member == 'true' - uses: actions/github-script@v9 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ steps.metadata.outputs.pr_number }} with: @@ -145,7 +145,7 @@ jobs: - name: Comment PR that a maintainer needs to review before preview deploys if: steps.membership.outputs.is_member == 'false' - uses: actions/github-script@v9 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PR_NUMBER: ${{ steps.metadata.outputs.pr_number }} PR_AUTHOR: ${{ steps.pr.outputs.author }} diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index d928596..c77fe2e 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -24,10 +24,10 @@ jobs: contents: read steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Node.js - uses: actions/setup-node@v7 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 22 cache: npm @@ -77,14 +77,14 @@ jobs: EOF - name: Upload PR metadata - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: pr-metadata path: ./pr-meta/metadata.json retention-days: 1 - name: Upload built site - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: preview-dist path: ./site/dist diff --git a/.github/workflows/validate-popular-fetch.yml b/.github/workflows/validate-popular-fetch.yml index ac9c6f6..ed862f5 100644 --- a/.github/workflows/validate-popular-fetch.yml +++ b/.github/workflows/validate-popular-fetch.yml @@ -17,10 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup Node.js - uses: actions/setup-node@v7 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 22 cache: npm @@ -31,7 +31,7 @@ jobs: run: npm ci - name: Azure login (OIDC) - uses: azure/login@v3 + uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0 with: client-id: ${{ secrets.AZURE_CLIENT_ID }} tenant-id: ${{ secrets.AZURE_TENANT_ID }}