Skip to content

Commit c867c3e

Browse files
authored
Merge pull request #2376 from jan-cerny/pin_actions_main
Pin used GitHub actions to a specific commit SHA
2 parents 976cb81 + 426d1ae commit c867c3e

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# Steps represent a sequence of tasks that will be executed as part of the job
2626
steps:
2727
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
28-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
2929
with:
3030
submodules: recursive
3131

@@ -58,7 +58,7 @@ jobs:
5858
- name: Install Deps
5959
run: dnf install -y cmake git procps-ng dbus-devel libacl-devel libblkid-devel libcap-devel libcurl-devel libgcrypt-devel libselinux-devel libxml2-devel libxslt-devel libattr-devel make openldap-devel pcre2-devel perl-XML-Parser perl-XML-XPath perl-devel python3-devel python3-dbusmock rpm-devel swig bzip2-devel gcc-c++ libyaml-devel xmlsec1-devel xmlsec1-openssl-devel hostname bzip2 lua rpm-build which strace python3-pytest
6060
- name: Checkout
61-
uses: actions/checkout@v6
61+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
6262
with:
6363
submodules: recursive
6464
- name: Build
@@ -81,7 +81,7 @@ jobs:
8181
- name: Install Deps
8282
run: dnf install -y cmake git procps-ng dbus-devel libacl-devel libblkid-devel libcap-devel libcurl-devel nss-devel libselinux-devel libxml2-devel libxslt-devel libattr-devel make openldap-devel pcre2-devel perl-XML-Parser perl-XML-XPath perl-devel python3-devel python3-dbusmock rpm-devel swig bzip2-devel gcc-c++ libyaml-devel xmlsec1-devel xmlsec1-openssl-devel hostname bzip2 lua rpm-build which strace python3-pytest
8383
- name: Checkout
84-
uses: actions/checkout@v6
84+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
8585
with:
8686
submodules: recursive
8787
- name: Build
@@ -103,7 +103,7 @@ jobs:
103103
# Steps represent a sequence of tasks that will be executed as part of the job
104104
steps:
105105
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
106-
- uses: actions/checkout@v6
106+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
107107

108108
# Runs a single command using the runners shell
109109
- name: Install Deps

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3535

3636
- name: Install Deps
3737
run: |
@@ -41,7 +41,7 @@ jobs:
4141
4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@v3
44+
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4
4545
with:
4646
languages: ${{ matrix.language }}
4747
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -58,6 +58,6 @@ jobs:
5858
make all
5959
6060
- name: Perform CodeQL Analysis
61-
uses: github/codeql-action/analyze@v3
61+
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4
6262
with:
6363
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)