@@ -34,13 +34,13 @@ jobs:
3434 working-directory : web
3535 steps :
3636 - name : Checkout
37- uses : actions/checkout@v4
37+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3838 - name : Set up QEMU
39- uses : docker/setup-qemu-action@v3
39+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4040 - name : Set up Docker Buildx
41- uses : docker/setup-buildx-action@v3
41+ uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
4242 - name : Login to DockerHub
43- uses : docker/login-action@v3
43+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
4444 with :
4545 username : ${{ secrets.DOCKERHUB_USERNAME }}
4646 password : ${{ secrets.DOCKERHUB_TOKEN }}
6969 echo "::set-output name=version::$VERSION"
7070 echo "::set-output name=tags::$TAGS"
7171 - name : Build and push docker image
72- uses : docker/build-push-action@v6
72+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
7373 with :
7474 context : web
7575 platforms : ${{ steps.options.outputs.platforms }}
8888 env :
8989 NODE_OPTIONS : " --max-old-space-size=8192"
9090 steps :
91- - uses : actions/checkout@v4
92- - uses : actions/setup-node@v4
91+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
92+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
9393 with :
9494 node-version : lts/*
9595 - name : Install Yarn
9999 - name : Get yarn cache directory path
100100 id : yarn-cache-dir-path
101101 run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
102- - uses : actions/cache@v3
102+ - uses : actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3.4.3
103103 id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
104104 with :
105105 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -112,7 +112,7 @@ jobs:
112112 run : yarn build
113113 - name : Pack
114114 run : mv dist reearth-web && tar -zcvf reearth-web.tar.gz reearth-web
115- - uses : actions/upload-artifact@v4
115+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
116116 with :
117117 name : reearth-web
118118 path : web/reearth-web.tar.gz
@@ -124,18 +124,18 @@ jobs:
124124 env :
125125 ARTIFACT : reearth-web_${{ inputs.name }}.tar.gz
126126 steps :
127- - uses : actions/create-github-app-token@v1
127+ - uses : actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
128128 id : app-token
129129 with :
130130 app-id : ${{ vars.GH_APP_ID }}
131131 private-key : ${{ secrets.GH_APP_PRIVATE_KEY }}
132- - uses : actions/download-artifact@v4
132+ - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
133133 with :
134134 name : reearth-web
135135 - name : Rename artifact
136136 run : mv reearth-web.tar.gz $ARTIFACT
137137 - name : Release
138- uses : ncipollo/release-action@v1
138+ uses : ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0
139139 with :
140140 allowUpdates : true
141141 artifacts : ${{ env.ARTIFACT }}
@@ -161,12 +161,12 @@ jobs:
161161 - name : Rename artifact
162162 run : mv reearth-web_rc.tar.gz $ARTIFACT
163163 - name : Download latest changelog
164- uses : dawidd6/action-download-artifact@v8
164+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
165165 with :
166166 workflow : release.yml
167167 name : changelog-${{ inputs.new_tag }}
168168 - name : Create GitHub release
169- uses : ncipollo/release-action@v1
169+ uses : ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0
170170 with :
171171 allowUpdates : true
172172 artifacts : ${{ env.ARTIFACT }}
0 commit comments