Skip to content

Commit ee7aeaa

Browse files
committed
Pin actions to SHAs
1 parent 132beec commit ee7aeaa

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
matrix:
99
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212
- name: Set up Python ${{ matrix.python-version }}
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1414
with:
1515
python-version: ${{ matrix.python-version }}
1616
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
publish:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
with:
1919
token: ${{ secrets.GH_API_TOKEN }}
2020
- name: Setup git repo
2121
run: |
2222
git config user.name $GITHUB_ACTOR
2323
git config user.email gh-actions-${GITHUB_ACTOR}@github.com
2424
- name: Set up Python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2626
with:
2727
python-version: 3.12
2828
- name: Install dependencies
@@ -50,12 +50,12 @@ jobs:
5050
run: poetry publish
5151
- name: Create a Release
5252
id: create-release
53-
uses: softprops/action-gh-release@v1
53+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
5454
with:
5555
tag_name: ${{ steps.bump_version.outputs.new_version }}
5656
generate_release_notes: true
5757
- name: Comment on PRs with link to release they are included in
58-
uses: actions/github-script@v6
58+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
5959
env:
6060
RELEASE_ID: ${{ steps.create-release.outputs.id }}
6161
with:

0 commit comments

Comments
 (0)