Skip to content

Commit 130c714

Browse files
Pin GitHub Actions to full-length commit SHAs
1 parent 8f0b601 commit 130c714

3 files changed

Lines changed: 19 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github-actions:
7+
patterns: ["*"]
8+
schedule:
9+
interval: "weekly"
10+
cooldown:
11+
default-days: 7

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2424
with:
2525
fetch-depth: 0 # Need full history for git versioning
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2929
with:
3030
python-version: '3.11'
3131

@@ -52,7 +52,7 @@ jobs:
5252
python-sdk: ${{ steps.check_python_sdk.outputs.changed }}
5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
5656
with:
5757
fetch-depth: 0
5858

@@ -94,10 +94,10 @@ jobs:
9494

9595
steps:
9696
- name: Checkout repository
97-
uses: actions/checkout@v4
97+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
9898

9999
- name: Install the latest version of uv and set the python version
100-
uses: astral-sh/setup-uv@v6
100+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
101101
with:
102102
version: '0.6.x'
103103
python-version: ${{ matrix.python-version }}
@@ -147,7 +147,7 @@ jobs:
147147
run: cd ~/drop/python-${{ matrix.python-version }} && zip -r ~/drop/python-${{ matrix.python-version }}.zip .
148148

149149
- name: Upload package and samples as artifacts
150-
uses: actions/upload-artifact@v4
150+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
151151
with:
152152
name: python-${{ matrix.python-version }}
153153
path: ~/drop/python-${{ matrix.python-version }}.zip

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1818

1919
- name: Dependency Review
20-
uses: actions/dependency-review-action@v4
20+
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
2121
with:
2222
fail-on-severity: high
2323
comment-summary-in-pr: always

0 commit comments

Comments
 (0)