11name : Build alpha release
22
33on :
4-
54 # Triggers the workflow on any pull request
65 pull_request :
76 types : [ labeled, synchronize, opened, reopened ]
87
8+ permissions : {}
9+
910env :
1011 # Make the git branch for a PR available to our Fastfile
1112 MX_GIT_BRANCH : ${{ github.event.pull_request.head.ref }}
@@ -25,22 +26,23 @@ jobs:
2526 cancel-in-progress : true
2627
2728 steps :
28- - uses : actions/checkout@v4
29+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2930 with :
3031 submodules : ' true'
32+ persist-credentials : false
3133
3234 # Common cache
3335 # Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
3436 - name : Cache CocoaPods libraries
35- uses : actions/cache@v4
37+ uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
3638 with :
3739 path : Pods
3840 key : ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
3941 restore-keys : |
4042 ${{ runner.os }}-pods-
4143
4244 - name : Cache Ruby gems
43- uses : actions/cache@v4
45+ uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
4446 with :
4547 path : vendor/bundle
4648 key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
6264
6365 # Import alpha release private signing certificate
6466 - name : Import signing certificate
65- uses : apple-actions/import-codesign-certs@v1
67+ uses : apple-actions/import-codesign-certs@b610f78488812c1e56b20e6df63ec42d833f2d14 # v6.0.0
6668 with :
6769 p12-file-base64 : ${{ secrets.ALPHA_CERTIFICATES_P12 }}
6870 p12-password : ${{ secrets.ALPHA_CERTIFICATES_P12_PASSWORD }}
8082 SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
8183
8284 - name : Add or update PR comment with Ad-hoc release informations
83- uses : NejcZdovc/comment-pr@v1
85+ uses : NejcZdovc/comment-pr@a423635d183a8259308e80593c96fecf31539c26 # v2.1.0
8486 with :
8587 message : |
8688 :iphone: Scan the QR code below to install the build for this PR.
0 commit comments