Skip to content

Commit 4d47dd6

Browse files
authored
chore(.github): upgrade and align actions across workflows with their tagged versions (#3861)
1 parent 50dc5f6 commit 4d47dd6

21 files changed

+77
-77
lines changed

.github/actions/dd-ci-upload/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030

3131
- name: Datadog CI CLI cache
3232
id: dd-ci-cli-cache
33-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
33+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
3434
with:
3535
path: ./datadog-ci
3636
key: datadog-ci-cli-${{ env.DD_CI_CLI_BUILD }}

.github/actions/setup-go/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121

2222
- name: Cache tools
2323
id: cache-tools
24-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
24+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
2525
with:
2626
path: ${{ inputs.tools-bin }}
2727
key: ${{ runner.os }}-go-${{ inputs.go-version }}-tools-${{ inputs.tools-dir }}-${{ inputs.tools-bin}}-${{ hashFiles('**/go.mod', '**/go.sum') }}

.github/workflows/api-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
check-api-stability:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515

1616
- name: Setup Go and development tools
1717
uses: ./.github/actions/setup-go

.github/workflows/appsec.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
key: ${{ steps.cfg.outputs.key }}
7070
path: ${{ steps.cfg.outputs.path }}
7171
steps:
72-
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2
72+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7373
with:
7474
ref: ${{ inputs.ref || github.ref }}
7575

@@ -79,13 +79,13 @@ jobs:
7979
echo "key=go-pkg-mod-${{ hashFiles('**/go.sum') }}" >> $GITHUB_OUTPUT
8080
echo "path=go_pkg_mod_cache" >> $GITHUB_OUTPUT
8181
82-
- uses: actions/setup-go@7c0b336c9aab5e8ed4f0ad8b81225b125f9883e4 # v5.3.0
82+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
8383
with:
8484
cache: false
8585

8686
- name: Cache Go modules
8787
id: cache
88-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
88+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
8989
with:
9090
path: ${{ steps.cfg.outputs.path }}
9191
key: ${{ steps.cfg.outputs.key }}
@@ -108,20 +108,20 @@ jobs:
108108
go-version: [ "1.24", "1.23" ]
109109
fail-fast: true # saving some CI time - macos runners are too long to get
110110
steps:
111-
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2
111+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
112112
with:
113113
ref: ${{ inputs.ref || github.ref }}
114114

115115
- name: Restore Go modules cache
116-
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
116+
uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
117117
with:
118118
path: ${{ needs.go-mod-caching.outputs.path }}
119119
key: ${{ needs.go-mod-caching.outputs.key }}
120120
restore-keys: go-pkg-mod-
121121
enableCrossOsArchive: true
122122
fail-on-cache-miss: true
123123

124-
- uses: actions/setup-go@7c0b336c9aab5e8ed4f0ad8b81225b125f9883e4 # v5.3.0
124+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
125125
with:
126126
go-version: ${{ matrix.go-version }}
127127
cache: false # we manage the caching ourselves
@@ -172,20 +172,20 @@ jobs:
172172
matrix:
173173
runs-on: [ macos-latest, windows-latest, ubuntu-latest-16-cores ]
174174
steps:
175-
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2
175+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
176176
with:
177177
ref: ${{ inputs.ref || github.ref }}
178178

179179
- name: Restore Go modules cache
180-
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
180+
uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
181181
with:
182182
path: ${{ needs.go-mod-caching.outputs.path }}
183183
key: ${{ needs.go-mod-caching.outputs.key }}
184184
restore-keys: go-pkg-mod-
185185
enableCrossOsArchive: true
186186
fail-on-cache-miss: true
187187

188-
- uses: actions/setup-go@7c0b336c9aab5e8ed4f0ad8b81225b125f9883e4 # v5.3.0
188+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
189189
with:
190190
go-version: stable
191191
cache: false # we manage the caching ourselves
@@ -229,12 +229,12 @@ jobs:
229229

230230
fail-fast: false
231231
steps:
232-
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2
232+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
233233
with:
234234
ref: ${{ inputs.ref || github.ref }}
235235

236236
- name: Restore Go modules cache
237-
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
237+
uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
238238
with:
239239
path: ${{ needs.go-mod-caching.outputs.path }}
240240
key: ${{ needs.go-mod-caching.outputs.key }}

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v3.6.0
38+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3939
with:
4040
ref: ${{ inputs.ref || github.ref }}
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
44+
uses: github/codeql-action/init@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.8
4545
with:
4646
languages: ${{ matrix.language }}
4747
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -52,7 +52,7 @@ jobs:
5252
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5353
# If this step fails, then you should remove it and run the build manually
5454
- name: Autobuild
55-
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
55+
uses: github/codeql-action/autobuild@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.8
5656

5757
- name: Perform CodeQL Analysis
58-
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
58+
uses: github/codeql-action/analyze@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.8

.github/workflows/datadog-static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Datadog Static Analyzer
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v3.6.0
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- name: Check code meets quality and security standards
1717
id: datadog-static-analysis
1818
uses: DataDog/datadog-static-analyzer-github-action@v1

.github/workflows/docker-build-and-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
5353
5454
- name: Checkout
55-
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2
55+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5656
with:
5757
ref: ${{ inputs.commit_sha }}
5858

@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Docker meta
8181
id: meta
82-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
82+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
8383
with:
8484
images: ${{ inputs.image }}
8585

.github/workflows/ecosystems-label-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
# Retrieve temporary github token
1717
- name: Get Github token
18-
uses: DataDog/dd-octo-sts-action@08f2144903ced3254a3dafec2592563409ba2aa0 # v1.0.1
18+
uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
1919
id: octo-sts
2020
with:
2121
policy: self.ecosystems-label-issue

.github/workflows/ecosystems-label-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
# Retrieve temporary github token
1919
- name: Get Github token
20-
uses: DataDog/dd-octo-sts-action@08f2144903ced3254a3dafec2592563409ba2aa0 # v1.0.1
20+
uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
2121
id: octo-sts
2222
with:
2323
policy: self.ecosystems-label-pr

.github/workflows/generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v3.6.0
38+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3939
with:
4040
ref: ${{ inputs.ref || github.ref }}
4141
- name: Setup Go and development tools

0 commit comments

Comments
 (0)