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 :
@@ -27,19 +27,19 @@ jobs:
2727 if : ${{ matrix.ruby == 'jruby-9.2' }}
2828
2929 - name : Checkout sendgrid-ruby
30- uses : actions/checkout@v2
30+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
3131 with :
3232 fetch-depth : 0
3333
3434 - name : Login to Docker Hub
3535 if : env.DOCKER_LOGIN
36- uses : docker/login-action@v1
36+ uses : docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1
3737 with :
3838 username : ${{ secrets.DOCKER_USERNAME }}
3939 password : ${{ secrets.DOCKER_AUTH_TOKEN }}
4040
4141 - name : Set up Ruby
42- uses : ruby/setup-ruby@v1
42+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
4343 with :
4444 ruby-version : ${{ matrix.ruby }}
4545 bundler-cache : true
@@ -63,23 +63,23 @@ jobs:
6363 name : Deploy
6464 if : success() && github.ref_type == 'tag'
6565 needs : [ test ]
66- runs-on : ubuntu-latest
66+ runs-on : ubuntu-latest-large
6767 steps :
6868 - name : Checkout sendgrid-ruby
69- uses : actions/checkout@v2
69+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
7070 with :
7171 fetch-depth : 0
7272
7373 - name : Set up Ruby
74- uses : ruby/setup-ruby@v1
74+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
7575 with :
7676 ruby-version : 3.1
7777 bundler-cache : true
7878
7979 - run : make install
8080
8181 - name : Create GitHub Release
82- uses : sendgrid/dx-automator/actions/release@main
82+ uses : sendgrid/dx-automator/actions/release@08b601b726671445abc798ed59881766ec8fefc6 # main
8383 with :
8484 footer : ' **[RubyGems](https://rubygems.org/gems/sendgrid-ruby/versions/${version})**'
8585 env :
@@ -97,17 +97,17 @@ jobs:
9797 gem push *.gem
9898
9999 - name : Submit metric to Datadog
100- uses : sendgrid/dx-automator/actions/datadog-release-metric@main
100+ uses : sendgrid/dx-automator/actions/datadog-release-metric@08b601b726671445abc798ed59881766ec8fefc6 # main
101101 env :
102102 DD_API_KEY : ${{ secrets.DATADOG_API_KEY }}
103103
104104 notify-on-failure :
105105 name : Slack notify on failure
106106 if : failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
107107 needs : [ test, deploy ]
108- runs-on : ubuntu-latest
108+ runs-on : ubuntu-latest-large
109109 steps :
110- - uses : rtCamp/action-slack-notify@v2
110+ - uses : rtCamp/action-slack-notify@33ca3be66c6f378fe1610fd1d5258632dbed5e58 # v2
111111 env :
112112 SLACK_COLOR : failure
113113 SLACK_ICON_EMOJI : ' :github:'
0 commit comments