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 ruby : [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1' ]
2121 steps :
2222 - name : Checkout ruby-http-client
23- uses : actions/checkout@v2
23+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2424 with :
2525 fetch-depth : 0
2626
2727 - name : Set up Ruby
28- uses : ruby/setup-ruby@v1
28+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
2929 with :
3030 ruby-version : ${{ matrix.ruby }}
3131 bundler-cache : true
@@ -49,23 +49,23 @@ jobs:
4949 name : Deploy
5050 if : success() && github.ref_type == 'tag'
5151 needs : [ test ]
52- runs-on : ubuntu-latest
52+ runs-on : ubuntu-latest-large
5353 steps :
5454 - name : Checkout ruby-http-client
55- uses : actions/checkout@v2
55+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
5656 with :
5757 fetch-depth : 0
5858
5959 - name : Set up Ruby
60- uses : ruby/setup-ruby@v1
60+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
6161 with :
6262 ruby-version : 3.1
6363 bundler-cache : true
6464
6565 - run : make install
6666
6767 - name : Create GitHub Release
68- uses : sendgrid/dx-automator/actions/release@main
68+ uses : sendgrid/dx-automator/actions/release@08b601b726671445abc798ed59881766ec8fefc6 # main
6969 env :
7070 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7171
@@ -81,17 +81,17 @@ jobs:
8181 gem push *.gem
8282
8383 - name : Submit metric to Datadog
84- uses : sendgrid/dx-automator/actions/datadog-release-metric@main
84+ uses : sendgrid/dx-automator/actions/datadog-release-metric@08b601b726671445abc798ed59881766ec8fefc6 # main
8585 env :
8686 DD_API_KEY : ${{ secrets.DATADOG_API_KEY }}
8787
8888 notify-on-failure :
8989 name : Slack notify on failure
9090 if : failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
9191 needs : [ test, deploy ]
92- runs-on : ubuntu-latest
92+ runs-on : ubuntu-latest-large
9393 steps :
94- - uses : rtCamp/action-slack-notify@v2
94+ - uses : rtCamp/action-slack-notify@33ca3be66c6f378fe1610fd1d5258632dbed5e58 # v2
9595 env :
9696 SLACK_COLOR : failure
9797 SLACK_ICON_EMOJI : ' :github:'
0 commit comments