Skip to content

Commit 7367683

Browse files
authored
Pin GitHub Actions (#237)
Pin GitHub Actions Co-authored-by: julien.doutre <julien.doutre@datadoghq.com>
1 parent 5bcf50c commit 7367683

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,25 @@ jobs:
88

99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1212

1313
- name: Set up Go
14-
uses: actions/setup-go@v3
14+
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
1515
with:
1616
go-version: '1.21'
1717

1818
- name: golangci-lint
19-
uses: golangci/golangci-lint-action@v3
19+
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
2020

2121
unit-test:
2222
runs-on: ubuntu-latest
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
2727

2828
- name: Set up Go
29-
uses: actions/setup-go@v3
29+
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
3030
with:
3131
go-version: '1.21'
3232

@@ -41,21 +41,21 @@ jobs:
4141

4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
4545

4646
- name: Set up Node 22
4747
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
with:
4949
node-version: 22
5050

5151
- name: Set up Go
52-
uses: actions/setup-go@v3
52+
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
5353
with:
5454
go-version: '1.21'
5555

5656
- name: Cache Node modules
5757
id: cache-node-modules
58-
uses: actions/cache@v3
58+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
5959
with:
6060
path: "**/node_modules"
6161
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v2
56+
uses: github/codeql-action/autobuild@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v2
70+
uses: github/codeql-action/analyze@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1

0 commit comments

Comments
 (0)