Skip to content

Commit 029a324

Browse files
wangyb-AAlex Wang
andauthored
chore: pin 3rd action commit SHA (#202)
Co-authored-by: Alex Wang <wangyb@amazon.com>
1 parent fc14a45 commit 029a324

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ jobs:
2929
- name: Install Hatch
3030
run: |
3131
python -m pip install hatch==1.16.5
32-
- uses: webfactory/ssh-agent@v0.9.1
32+
- uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
3333
with:
3434
ssh-private-key: ${{ secrets.SDK_KEY }}
3535
- name: Check for Python Language SDK branch override in PR
3636
if: github.event_name == 'pull_request'
37+
env:
38+
PR_BODY: ${{ github.event.pull_request.body }}
3739
run: |
38-
OVERRIDE=$(echo "${{ github.event.pull_request.body }}" | grep -o 'PYTHON_LANGUAGE_SDK_BRANCH: [^[:space:]]*' | cut -d' ' -f2 || true)
40+
OVERRIDE=$(echo "$PR_BODY" | grep -o 'PYTHON_LANGUAGE_SDK_BRANCH: [^[:space:]]*' | cut -d' ' -f2 || true)
3941
if [ ! -z "$OVERRIDE" ]; then
4042
echo "AWS_DURABLE_SDK_URL=git+ssh://git@github.com/aws/aws-durable-execution-sdk-python.git@$OVERRIDE" >> $GITHUB_ENV
4143
echo "Using Python Language SDK branch override: $OVERRIDE"

.github/workflows/deploy-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@v4
4444

4545
- name: Setup SSH Agent
46-
uses: webfactory/ssh-agent@v0.9.0
46+
uses: webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # v0.9.0
4747
with:
4848
ssh-private-key: ${{ secrets.SDK_KEY }}
4949

.github/workflows/notify_slack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Send issue notification to Slack
1616
if: github.event_name == 'issues'
17-
uses: slackapi/slack-github-action@v2.1.1
17+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
1818
with:
1919
webhook: ${{ secrets.SLACK_WEBHOOK_URL_ISSUE }}
2020
webhook-type: incoming-webhook
@@ -27,7 +27,7 @@ jobs:
2727
2828
- name: Send pull request notification to Slack
2929
if: github.event_name == 'pull_request_target'
30-
uses: slackapi/slack-github-action@v2.1.1
30+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
3131
with:
3232
webhook: ${{ secrets.SLACK_WEBHOOK_URL_PR }}
3333
webhook-type: incoming-webhook

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ jobs:
6666
path: dist/
6767

6868
- name: Publish release distributions to PyPI
69-
uses: pypa/gh-action-pypi-publish@release/v1
69+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
7070
with:
7171
packages-dir: dist/

0 commit comments

Comments
 (0)