diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..2c48305b7e --- /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/check_issues.yml b/.github/workflows/check_issues.yml index e03415c3a7..73b73836fd 100644 --- a/.github/workflows/check_issues.yml +++ b/.github/workflows/check_issues.yml @@ -11,7 +11,7 @@ jobs: permissions: issues: write steps: - - uses: actions/github-script@v8 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | let issue_query = { diff --git a/.github/workflows/check_tools_sha.yml b/.github/workflows/check_tools_sha.yml index 4eb414c74e..4751af28d8 100644 --- a/.github/workflows/check_tools_sha.yml +++ b/.github/workflows/check_tools_sha.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - name: Bootstrap vcpkg run: ./bootstrap-vcpkg.sh diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c45f027d21..6514933172 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,9 +30,9 @@ jobs: build-mode: none steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - name: Initialize CodeQL - uses: github/codeql-action/init@v4 + uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -46,6 +46,6 @@ jobs: ./vcpkg install alac-decoder breakpad[tools] gettimeofday modp-base64 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4 + uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 10319228e2..eff10e01f9 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,14 +10,14 @@ jobs: stale: runs-on: ubuntu-slim steps: - - uses: actions/stale@v8 + - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0 with: stale-issue-message: 'This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.' any-of-labels: 'category:question,requires:repro,requires:more-information' days-before-issue-stale: 28 days-before-pr-stale: -1 days-before-close: 14 - - uses: actions/stale@v8 + - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0 with: stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 60 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment." any-of-labels: 'category:new-port' @@ -25,7 +25,7 @@ jobs: days-before-issue-stale: 60 days-before-pr-stale: -1 days-before-close: 14 - - uses: actions/stale@v8 + - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0 with: stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment." exempt-issue-labels: 'no-stale,category:new-port,category:question,requires:repro,requires:more-information' diff --git a/.github/workflows/untrustedPR.yml b/.github/workflows/untrustedPR.yml index 2eec106f92..6d00d64ea7 100644 --- a/.github/workflows/untrustedPR.yml +++ b/.github/workflows/untrustedPR.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: # fetch-depth 50 tries to ensure we capture the whole history of the branch fetch-depth: 50 @@ -102,7 +102,7 @@ jobs: git reset --hard "$synthetic_merge_commit" - name: Generate Reply - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const { promises: fs } = require('fs')