Skip to content

Commit 3cdad5a

Browse files
chore: add pinned versions to gh actions
1 parent 0729f11 commit 3cdad5a

File tree

4 files changed

+28
-14
lines changed

4 files changed

+28
-14
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Reference: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
groups:
9+
# Group updates together, so that they are all applied in a single PR.
10+
# Grouped updates are currently in beta and is subject to change.
11+
# xref: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
12+
actions-deps:
13+
patterns:
14+
- "*"

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
# Note: To re-run `lint-commits` after fixing the PR title, close-and-reopen the PR.
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020
- name: Use Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2222
with:
2323
node-version: 22.x
2424
- name: Check PR title
@@ -35,9 +35,9 @@ jobs:
3535
python-version: ["3.13"]
3636

3737
steps:
38-
- uses: actions/checkout@v5
38+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3939
- name: Set up Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@v6
40+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343
- name: Install Hatch

.github/workflows/integration-tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ jobs:
2727
echo "Using testing SDK branch: $REF"
2828
2929
- name: Checkout Language SDK (this PR)
30-
uses: actions/checkout@v5
30+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131
with:
3232
path: language-sdk
3333

3434
- name: Checkout Testing SDK
35-
uses: actions/checkout@v5
35+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636
with:
3737
repository: aws/aws-durable-execution-sdk-python-testing
3838
ref: ${{ steps.parse.outputs.testing_ref }}
3939
token: ${{ secrets.CROSS_REPO_PAT }}
4040
path: testing-sdk
4141

4242
- name: Set up Python ${{ matrix.python-version }}
43-
uses: actions/setup-python@v6
43+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4444
with:
4545
python-version: ${{ matrix.python-version }}
4646

@@ -79,25 +79,25 @@ jobs:
7979
echo "Using testing SDK branch: $REF"
8080
8181
- name: Checkout Language SDK (this PR)
82-
uses: actions/checkout@v5
82+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8383
with:
8484
path: language-sdk
8585

8686
- name: Checkout Testing SDK
87-
uses: actions/checkout@v5
87+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8888
with:
8989
repository: aws/aws-durable-execution-sdk-python-testing
9090
ref: ${{ steps.parse.outputs.testing_ref }}
9191
token: ${{ secrets.CROSS_REPO_PAT }}
9292
path: testing-sdk
9393

9494
- name: Set up Python 3.13
95-
uses: actions/setup-python@v6
95+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
9696
with:
9797
python-version: '3.13'
9898

9999
- name: Configure AWS credentials
100-
uses: aws-actions/configure-aws-credentials@v4
100+
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
101101
with:
102102
role-to-assume: "${{ secrets.ACTIONS_INTEGRATION_ROLE_NAME }}"
103103
role-session-name: languageSDKIntegrationTest

.github/workflows/sync-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
python-version: ["3.13"]
2121

2222
steps:
23-
- uses: actions/checkout@v5
23+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2424
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v6
25+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install Hatch
@@ -31,7 +31,7 @@ jobs:
3131
- name: Build distribution
3232
run: hatch build
3333
- name: configure aws credentials
34-
uses: aws-actions/configure-aws-credentials@v4
34+
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
3535
with:
3636
role-to-assume: "${{ secrets.ACTIONS_SYNC_ROLE_NAME }}"
3737
role-session-name: gh-python

0 commit comments

Comments
 (0)