From 88e17dc5f457f3c3e7094694b9891aec7ffb20e1 Mon Sep 17 00:00:00 2001 From: Thierry Moisan Date: Sat, 13 Jul 2024 10:58:54 -0400 Subject: [PATCH] workflows: pin actions --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/main.yml | 2 +- .github/workflows/stale-issues.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 01bfcf9..1cba033 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -19,12 +19,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@319cdb9fa619417d07cc37a964f0502bfbc5e8a9 # v3 with: languages: ruby - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@319cdb9fa619417d07cc37a964f0502bfbc5e8a9 # v3 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e8a4f4..55015d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: ruby: ["3.1", "3.0"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: persist-credentials: false diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index 5fd78c2..312cab0 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Mark/Close Stale Issues and Pull Requests - uses: actions/stale@v9 + uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 21 @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Mark/Close Stale `bump-formula-pr` and `bump-cask-pr` Pull Requests - uses: actions/stale@v9 + uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 2