1414 labels : dre-runner-custom
1515 container : ghcr.io/dfinity/dre/actions-runner:6413f2909a49329ecbf5371ee7ddf07a9799b625
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1818
1919 - name : " ☁️ Setup runner"
2020 uses : ./.github/workflows/manage-runner-pre
3131 needs : [test]
3232 runs-on : macos-14
3333 steps :
34- - uses : actions/checkout@v4
34+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3535 with :
3636 fetch-depth : 0
3737
5454 echo "toolchain=$ver" >> "$GITHUB_OUTPUT"
5555
5656 - name : Set up Rust toolchain
57- uses : dtolnay/rust-toolchain@master
57+ uses : dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
5858 with :
5959 toolchain : ${{ steps.rust.outputs.toolchain }}
6060
7979 cargo build --release -p dre --target aarch64-apple-darwin
8080
8181 - name : Upload macOS aarch64 artifact
82- uses : actions/upload-artifact@v4
82+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
8383 with :
8484 name : dre-aarch64-apple-darwin
8585 path : target/aarch64-apple-darwin/release/dre
9797 cargo build --release -p dre --target x86_64-apple-darwin
9898
9999 - name : Upload macOS x86_64 artifact
100- uses : actions/upload-artifact@v4
100+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
101101 with :
102102 name : dre-x86_64-apple-darwin
103103 path : target/x86_64-apple-darwin/release/dre
@@ -113,7 +113,7 @@ jobs:
113113 packages : write
114114 pages : write
115115 steps :
116- - uses : actions/checkout@v4
116+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
117117 with :
118118 fetch-tags : true
119119 fetch-depth : 0
@@ -125,7 +125,7 @@ jobs:
125125 # If regular secrets.GITHUB_TOKEN is used instead, the push will not trigger any actions
126126 # https://github.com/orgs/community/discussions/25702
127127 - name : Create GitHub App Token
128- uses : actions/create-github-app-token@v2
128+ uses : actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
129129 id : app-token
130130 with :
131131 app-id : ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
@@ -158,7 +158,7 @@ jobs:
158158 cp --dereference bazel-out/k8-opt/bin/rs/cli/dre release/artifacts/dre-x86_64-unknown-linux
159159
160160 - name : Download macOS x86_64 artifact
161- uses : actions/download-artifact@v4
161+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
162162 with :
163163 name : dre-x86_64-apple-darwin
164164 path : release/artifacts/
@@ -168,7 +168,7 @@ jobs:
168168 run : mv release/artifacts/dre release/artifacts/dre-x86_64-apple-darwin
169169
170170 - name : Download macOS aarch64 artifact
171- uses : actions/download-artifact@v4
171+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
172172 with :
173173 name : dre-aarch64-apple-darwin
174174 path : release/artifacts/
@@ -202,7 +202,7 @@ jobs:
202202 rm -rf release
203203
204204 - name : " 🆕 Create a new Pull Request with the changes"
205- uses : peter-evans/create-pull-request@v7
205+ uses : peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11
206206 with :
207207 commit-message : " chore(release): New release of `dre` version ${{ steps.tag.outputs.tag }}"
208208 branch : bot-release-${{ steps.tag.outputs.tag }}
0 commit comments