1313jobs :
1414 test :
1515 name : Test
16- runs-on : ubuntu-latest
16+ runs-on : ubuntu-latest-large
1717 timeout-minutes : 20
1818 strategy :
1919 matrix :
2020 python-version : [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10' ]
2121 steps :
2222 - name : Checkout sendgrid-python-http-client
23- uses : actions/checkout@v2
23+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2424
2525 - name : Set up Python
26- uses : actions/setup-python@v2
26+ uses : actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2
2727 with :
2828 python-version : ${{ matrix.python-version }}
2929
@@ -33,13 +33,13 @@ jobs:
3333 name : Deploy
3434 if : success() && github.ref_type == 'tag'
3535 needs : [ test ]
36- runs-on : ubuntu-latest
36+ runs-on : ubuntu-latest-large
3737 steps :
3838 - name : Checkout sendgrid-python-http-client
39- uses : actions/checkout@v2
39+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
4040
4141 - name : Set up Python
42- uses : actions/setup-python@v2
42+ uses : actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2
4343 with :
4444 python-version : ' 3.10'
4545
@@ -51,23 +51,23 @@ jobs:
5151 python setup.py sdist bdist_wheel
5252
5353 - name : Publish package to PyPI
54- uses : pypa/gh-action-pypi-publish@release/v1
54+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
5555 with :
5656 user : __token__
5757 password : ${{ secrets.PYPI_TOKEN }}
5858
5959 - name : Submit metric to Datadog
60- uses : sendgrid/dx-automator/actions/datadog-release-metric@main
60+ uses : sendgrid/dx-automator/actions/datadog-release-metric@08b601b726671445abc798ed59881766ec8fefc6 # main
6161 env :
6262 DD_API_KEY : ${{ secrets.DATADOG_API_KEY }}
6363
6464 notify-on-failure :
6565 name : Slack notify on failure
6666 if : failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
6767 needs : [ test, deploy ]
68- runs-on : ubuntu-latest
68+ runs-on : ubuntu-latest-large
6969 steps :
70- - uses : rtCamp/action-slack-notify@v2
70+ - uses : rtCamp/action-slack-notify@33ca3be66c6f378fe1610fd1d5258632dbed5e58 # v2
7171 env :
7272 SLACK_COLOR : failure
7373 SLACK_ICON_EMOJI : ' :github:'
0 commit comments