Skip to content

Commit d8b7210

Browse files
Pin GitHub Actions to commit SHAs
1 parent eb3ddb8 commit d8b7210

36 files changed

Lines changed: 106 additions & 104 deletions

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ updates:
1717
ignore:
1818
- dependency-name: '*'
1919
update-types: ['version-update:semver-patch', 'version-update:semver-minor']
20+
cooldown:
21+
default-days: 7
2022

2123
- package-ecosystem: "gomod"
2224
directory: "go/extractor"

.github/workflows/buildifier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
2121
- name: Check bazel formatting
2222
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
2323
with:

.github/workflows/check-implicit-this.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
check:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
2020
- name: Check that implicit this warnings is enabled for all packs
2121
shell: bash
2222
run: |

.github/workflows/check-overlay-annotations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
sync:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
2121
- name: Check overlay annotations
2222
run: python config/add-overlay-annotations.py --check java
2323

.github/workflows/check-qldoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
2222
with:
2323
fetch-depth: 2
2424

.github/workflows/check-query-ids.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
name: Check query IDs
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
2323
- name: Check for duplicate query IDs
2424
run: python3 misc/scripts/check-query-ids.py

.github/workflows/close-stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/stale@v9
18+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
1919
with:
2020
repo-token: ${{ secrets.GITHUB_TOKEN }}
2121
stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Comment or remove the `Stale` label in order to avoid having this issue closed in 7 days.'

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ jobs:
3232

3333
steps:
3434
- name: Setup dotnet
35-
uses: actions/setup-dotnet@v4
35+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
3636
with:
3737
dotnet-version: 10.0.100
3838

3939
- name: Checkout repository
40-
uses: actions/checkout@v5
40+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@main
44+
uses: github/codeql-action/init@14c568a92663d5bba4fc64d9a8d97c0e00e015a2 # main
4545
with:
4646
languages: ${{ matrix.language }}
4747
config-file: ./.github/codeql/codeql-config.yml
@@ -64,4 +64,4 @@ jobs:
6464
dotnet build .
6565
6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@main
67+
uses: github/codeql-action/analyze@14c568a92663d5bba4fc64d9a8d97c0e00e015a2 # main

.github/workflows/cpp-swift-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@main
35+
uses: github/codeql-action/init@14c568a92663d5bba4fc64d9a8d97c0e00e015a2 # main
3636
# Override language selection by uncommenting this and choosing your languages
3737
with:
3838
languages: cpp
@@ -50,4 +50,4 @@ jobs:
5050
bazel shutdown
5151
5252
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@main
53+
uses: github/codeql-action/analyze@14c568a92663d5bba4fc64d9a8d97c0e00e015a2 # main

.github/workflows/csharp-qltest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
os: [ubuntu-latest, windows-latest]
4040
runs-on: ${{ matrix.os }}
4141
steps:
42-
- uses: actions/checkout@v5
42+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
4343
- name: Setup dotnet
44-
uses: actions/setup-dotnet@v4
44+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
4545
with:
4646
dotnet-version: 10.0.100
4747
- name: Extractor unit tests
@@ -55,7 +55,7 @@ jobs:
5555
stubgentest:
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v5
58+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
5959
- uses: ./csharp/actions/create-extractor-pack
6060
- name: Run stub generator tests
6161
run: |

0 commit comments

Comments
 (0)