Skip to content

Commit 32ed184

Browse files
nogatesclaude
andauthored
Pin all remaining workflow actions to full commit SHAs (#3398)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1fc45f1 commit 32ed184

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/approved_status.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
scope: DataDog/datadog-api-spec
3333
policy: datadog-api-client-ruby.approved_status.post-review-status
3434
- name: Post PR review status check
35-
uses: DataDog/github-actions/post-review-status@v2
35+
uses: DataDog/github-actions/post-review-status@65b4875f33ad773d7ba4b005a2cb5f35020295f3 # v2.3.0
3636
with:
3737
github-token: ${{ steps.get_token.outputs.token }}
3838
repo: datadog-api-spec

.github/workflows/codeql-analysis.yml

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

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333

3434
# Initializes the CodeQL tools for scanning.
3535
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@v2
36+
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2
3737
with:
3838
languages: ${{ matrix.language }}
3939
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -47,7 +47,7 @@ jobs:
4747
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4848
# If this step fails, then you should remove it and run the build manually (see below)
4949
- name: Autobuild
50-
uses: github/codeql-action/autobuild@v2
50+
uses: github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a # v2
5151

5252
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v2
53+
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818
DD_PROFILING_NO_EXTENSION: true
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
with:
2323
# Fetch all history for applying timestamps to every page
2424
fetch-depth: 0
2525

2626
- name: Set up Ruby
27-
uses: ruby/setup-ruby@v1
27+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
2828
with:
2929
ruby-version: "2.7"
3030
bundler-cache: true
3131
# modify repository secret when there are problems with installing gems
3232
cache-version: ${{ secrets.CACHE_VERSION }}
3333

3434
- name: Cache yardoc
35-
uses: actions/cache@v3
35+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
3636
with:
3737
path: |
3838
.yardoc
@@ -48,7 +48,7 @@ jobs:
4848
- name: Compress docs
4949
run: tar czf doc.tar.gz doc
5050

51-
- uses: actions/upload-artifact@v4
51+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
5252
with:
5353
name: documentation
5454
path: doc.tar.gz
@@ -61,15 +61,15 @@ jobs:
6161
- build
6262

6363
steps:
64-
- uses: actions/download-artifact@v4
64+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
6565
with:
6666
name: documentation
6767
path: doc
6868

6969
- name: Uncompress docs
7070
run: tar xzf doc/doc.tar.gz && rm doc/doc.tar.gz
7171

72-
- uses: peaceiris/actions-gh-pages@v3
72+
- uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
7373
with:
7474
github_token: ${{ secrets.GITHUB_TOKEN }}
7575
publish_dir: ./doc

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
triage:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: DataDog/labeler@glob-all
14+
- uses: DataDog/labeler@5170395583c7f7ec92989fd24faffc5b6154b866 # glob-all
1515
with:
1616
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
stale:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/stale@v9
19+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
2020
with:
2121
repo-token: ${{ secrets.GITHUB_TOKEN }}
2222
stale-issue-message: >-

0 commit comments

Comments
 (0)