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 :
@@ -23,10 +23,10 @@ jobs:
2323 - " highest"
2424 steps :
2525 - name : Checkout php-http-client
26- uses : actions/checkout@v2
26+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2727
2828 - name : Setup PHP Action
29- uses : shivammathur/setup-php@2.15.0
29+ uses : shivammathur/setup-php@4c5c122aa65e90c21a9ddc71071e94ad8b6d33e2 # 2.15.0
3030 with :
3131 php-version : ${{ matrix.php }}
3232 id : php
@@ -48,13 +48,13 @@ jobs:
4848 name : Deploy
4949 if : success() && github.ref_type == 'tag'
5050 needs : [ test ]
51- runs-on : ubuntu-latest
51+ runs-on : ubuntu-latest-large
5252 steps :
5353 - name : Checkout php-http-client
54- uses : actions/checkout@v2
54+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
5555
5656 - name : Setup PHP
57- uses : shivammathur/setup-php@2.15.0
57+ uses : shivammathur/setup-php@4c5c122aa65e90c21a9ddc71071e94ad8b6d33e2 # 2.15.0
5858 with :
5959 php-version : ' 8.1'
6060 id : php
@@ -63,24 +63,24 @@ jobs:
6363 run : make bundle
6464
6565 - name : Create GitHub Release
66- uses : sendgrid/dx-automator/actions/release@main
66+ uses : sendgrid/dx-automator/actions/release@08b601b726671445abc798ed59881766ec8fefc6 # main
6767 with :
6868 assets : php-http-client.zip
6969 env :
7070 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7171
7272 - name : Submit metric to Datadog
73- uses : sendgrid/dx-automator/actions/datadog-release-metric@main
73+ uses : sendgrid/dx-automator/actions/datadog-release-metric@08b601b726671445abc798ed59881766ec8fefc6 # main
7474 env :
7575 DD_API_KEY : ${{ secrets.DATADOG_API_KEY }}
7676
7777 notify-on-failure :
7878 name : Slack notify on failure
7979 if : failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
8080 needs : [ test, deploy ]
81- runs-on : ubuntu-latest
81+ runs-on : ubuntu-latest-large
8282 steps :
83- - uses : rtCamp/action-slack-notify@v2
83+ - uses : rtCamp/action-slack-notify@33ca3be66c6f378fe1610fd1d5258632dbed5e58 # v2
8484 env :
8585 SLACK_COLOR : failure
8686 SLACK_ICON_EMOJI : ' :github:'
0 commit comments