Skip to content

Commit df8b4ad

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

6 files changed

Lines changed: 14 additions & 14 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-python.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
@@ -26,11 +26,11 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030

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

4949
- name: Perform CodeQL Analysis
50-
uses: github/codeql-action/analyze@v2
50+
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
@@ -16,13 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717

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

2424
- name: Set up Python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2626
with:
2727
python-version: "3.11"
2828
cache: "pip"
@@ -39,7 +39,7 @@ jobs:
3939
echo "SPHINX_VERSION=$(.tox/docs/bin/python -c "import importlib.metadata;print(importlib.metadata.version('sphinx'))")" >> $GITHUB_ENV
4040
4141
- name: Cache sphinx
42-
uses: actions/cache@v3
42+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
4343
with:
4444
path: docs/.sphinx
4545
key: sphinx-${{ env.SPHINX_VERSION }}-${{ hashFiles('.generator/schemas/**/openapi.yaml') }}
@@ -51,7 +51,7 @@ jobs:
5151
- name: Compress site
5252
run: tar czf site.tar.gz site
5353

54-
- uses: actions/upload-artifact@v4
54+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
5555
with:
5656
name: documentation
5757
path: site.tar.gz
@@ -64,15 +64,15 @@ jobs:
6464
- build
6565

6666
steps:
67-
- uses: actions/download-artifact@v4
67+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
6868
with:
6969
name: documentation
7070
path: site
7171

7272
- name: Uncompress site
7373
run: tar xzf site/site.tar.gz && rm site/site.tar.gz
7474

75-
- uses: peaceiris/actions-gh-pages@v3
75+
- uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
7676
with:
7777
github_token: ${{ secrets.GITHUB_TOKEN }}
7878
publish_dir: ./site

.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/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
fetch-depth: 1
2424

25-
- uses: actions/setup-python@v4
25+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2626
name: Install Python
2727
with:
2828
python-version: "3.11"

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