From 0ae9ab36ce2c79aa8550a2ac18c8dacb3c693ed1 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Thu, 3 Apr 2025 15:22:38 +0200 Subject: [PATCH] CI: Pin github actions for security (#12105) Dependabot can still upgrade the action version. --- .github/workflows/auto-label-os.yml | 6 +++--- .github/workflows/upgrade-patch-versions-schedule.yml | 2 +- .github/workflows/upgrade-patch-versions.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-label-os.yml b/.github/workflows/auto-label-os.yml index 86bb57d8c..e78410890 100644 --- a/.github/workflows/auto-label-os.yml +++ b/.github/workflows/auto-label-os.yml @@ -13,16 +13,16 @@ jobs: issues: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Parse issue form - uses: stefanbuck/github-issue-parser@v3 + uses: stefanbuck/github-issue-parser@2ea9b35a8c584529ed00891a8f7e41dc46d0441e id: issue-parser with: template-path: .github/ISSUE_TEMPLATE/bug-report.yaml - name: Set labels based on OS field - uses: redhat-plumbers-in-action/advanced-issue-labeler@v3 + uses: redhat-plumbers-in-action/advanced-issue-labeler@39087a4b30cb98d57f25f34d617a6af8163c17d9 with: issue-form: ${{ steps.issue-parser.outputs.jsonString }} section: os diff --git a/.github/workflows/upgrade-patch-versions-schedule.yml b/.github/workflows/upgrade-patch-versions-schedule.yml index 604a967b8..0c71ad380 100644 --- a/.github/workflows/upgrade-patch-versions-schedule.yml +++ b/.github/workflows/upgrade-patch-versions-schedule.yml @@ -12,7 +12,7 @@ jobs: outputs: branches: ${{ steps.get-branches.outputs.data }} steps: - - uses: octokit/graphql-action@v2.3.2 + - uses: octokit/graphql-action@8ad880e4d437783ea2ab17010324de1075228110 id: get-branches with: query: | diff --git a/.github/workflows/upgrade-patch-versions.yml b/.github/workflows/upgrade-patch-versions.yml index 0793a12fc..debc252c4 100644 --- a/.github/workflows/upgrade-patch-versions.yml +++ b/.github/workflows/upgrade-patch-versions.yml @@ -11,7 +11,7 @@ jobs: update-patch-versions: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: ${{ inputs.branch }} - uses: actions/setup-python@v5 @@ -29,7 +29,7 @@ jobs: ~/.cache/pre-commit - run: pre-commit run --all-files propagate-ansible-variables continue-on-error: true - - uses: peter-evans/create-pull-request@v7 + - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e with: commit-message: Patch versions updates title: Patch versions updates - ${{ inputs.branch }}