Browse Source

CI: Pin github actions for security (#12105)

Dependabot can still upgrade the action version.
pull/12106/head
Max Gautier 6 days ago
committed by GitHub
parent
commit
0ae9ab36ce
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions
  1. 6
      .github/workflows/auto-label-os.yml
  2. 2
      .github/workflows/upgrade-patch-versions-schedule.yml
  3. 4
      .github/workflows/upgrade-patch-versions.yml

6
.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

2
.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: |

4
.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 }}

Loading…
Cancel
Save