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 :
@@ -22,11 +22,11 @@ jobs:
2222 DOCKER_LOGIN : ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }}
2323 steps :
2424 - name : Checkout sendgrid-php
25- uses : actions/checkout@v2
25+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2626
2727 - name : Login to Docker Hub
2828 if : env.DOCKER_LOGIN
29- uses : docker/login-action@v1
29+ uses : docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1
3030 with :
3131 username : ${{ secrets.DOCKER_USERNAME }}
3232 password : ${{ secrets.DOCKER_AUTH_TOKEN }}
@@ -43,13 +43,13 @@ jobs:
4343 name : Deploy
4444 if : success() && github.ref_type == 'tag'
4545 needs : [ test ]
46- runs-on : ubuntu-latest
46+ runs-on : ubuntu-latest-large
4747 steps :
4848 - name : Checkout sendgrid-php
49- uses : actions/checkout@v2
49+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
5050
5151 - name : Setup PHP
52- uses : shivammathur/setup-php@2.15.0
52+ uses : shivammathur/setup-php@4c5c122aa65e90c21a9ddc71071e94ad8b6d33e2 # 2.15.0
5353 with :
5454 php-version : ' 8.1'
5555 extensions : gmp
@@ -59,24 +59,24 @@ jobs:
5959 run : make bundle
6060
6161 - name : Create GitHub Release
62- uses : sendgrid/dx-automator/actions/release@main
62+ uses : sendgrid/dx-automator/actions/release@08b601b726671445abc798ed59881766ec8fefc6 # main
6363 with :
6464 assets : sendgrid-php.zip
6565 env :
6666 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6767
6868 - name : Submit metric to Datadog
69- uses : sendgrid/dx-automator/actions/datadog-release-metric@main
69+ uses : sendgrid/dx-automator/actions/datadog-release-metric@08b601b726671445abc798ed59881766ec8fefc6 # main
7070 env :
7171 DD_API_KEY : ${{ secrets.DATADOG_API_KEY }}
7272
7373 notify-on-failure :
7474 name : Slack notify on failure
7575 if : failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
7676 needs : [ test, deploy ]
77- runs-on : ubuntu-latest
77+ runs-on : ubuntu-latest-large
7878 steps :
79- - uses : rtCamp/action-slack-notify@v2
79+ - uses : rtCamp/action-slack-notify@33ca3be66c6f378fe1610fd1d5258632dbed5e58 # v2
8080 env :
8181 SLACK_COLOR : failure
8282 SLACK_ICON_EMOJI : ' :github:'
0 commit comments