File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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/
You can’t perform that action at this time.
0 commit comments