3131 matrix :
3232 node-version : [20, 22]
3333 steps :
34- - uses : actions/checkout@v6
34+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535 - run : git fetch --depth=1
36- - uses : actions/setup-node@v6
36+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3737 with :
3838 node-version : ${{ matrix.node-version }}
3939 cache : ' yarn'
4747 - run : yarn test:type
4848 - if : ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
4949 name : Slack Notify
50- uses : rtCamp/action-slack-notify@v2.3.3
50+ uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2.3.3
5151 env :
5252 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
5353 SLACK_USERNAME : SDK Pipeline Bot
@@ -62,14 +62,14 @@ jobs:
6262 if : inputs.canary-release-skip-checks == false
6363 runs-on : ubuntu-latest
6464 steps :
65- - uses : actions/checkout@v6
65+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6666 - run : git fetch --depth=1
67- - uses : actions/setup-node@v6
67+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
6868 with :
6969 node-version : 22
7070 cache : ' yarn'
7171 - name : REUSE Compliance Check
72- uses : fsfe/reuse-action@v6
72+ uses : fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
7373 - run : yarn install --frozen-lockfile --ignore-engines
7474 - run : yarn lint
7575 name : Static Code Check
9292 name : License Check
9393 - if : ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
9494 name : Slack Notify
95- uses : rtCamp/action-slack-notify@v2.3.3
95+ uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2.3.3
9696 env :
9797 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
9898 SLACK_USERNAME : SDK Pipeline Bot
@@ -107,9 +107,9 @@ jobs:
107107 if : inputs.canary-release-skip-checks == false
108108 runs-on : ubuntu-latest
109109 steps :
110- - uses : actions/checkout@v6
110+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
111111 - run : git fetch --depth=1
112- - uses : actions/setup-node@v6
112+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
113113 with :
114114 node-version : 22
115115 cache : ' yarn'
@@ -126,7 +126,7 @@ jobs:
126126 steps :
127127 - name : Dependabot metadata
128128 id : metadata
129- uses : dependabot/fetch-metadata@v3.0.0
129+ uses : dependabot/fetch-metadata@ffa630c65fa7e0ecfa0625b5ceda64399aea1b36 # v3.0.0
130130 with :
131131 github-token : ' ${{ secrets.GITHUB_TOKEN }}'
132132 - name : Approve a PR
@@ -151,7 +151,7 @@ jobs:
151151 REF_NAME : ${{ github.ref_name }}
152152 REF : ${{ github.ref }}
153153 steps :
154- - uses : actions/checkout@v6
154+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
155155 - run : git fetch --depth=1
156156 - id : date-check
157157 name : Check if latest commit is within 24 hrs
@@ -178,9 +178,9 @@ jobs:
178178 permissions :
179179 id-token : write
180180 steps :
181- - uses : actions/checkout@v6
181+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
182182 - run : git fetch --depth=1
183- - uses : actions/setup-node@v6
183+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
184184 with :
185185 node-version : 24 # Will install npm 11 needed for trusted publishing
186186 cache : ' yarn'
@@ -200,21 +200,23 @@ jobs:
200200 runs-on : ubuntu-latest
201201 needs : [tests, checks]
202202 steps :
203- - uses : actions/checkout@v6
203+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
204204 - run : git fetch --depth=1
205- - uses : actions/setup-node@v6
205+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
206206 with :
207207 node-version : 22
208208 cache : ' yarn'
209209 - run : yarn install --frozen-lockfile --ignore-engines
210210 - uses : ./.github/actions/get-changelog
211211 name : Get Changelog
212212 id : get-changelog
213- - uses : actions/create-release@latest
213+ - name : Create Release
214214 env :
215215 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
216- with :
217- tag_name : ${{ github.ref }}
218- release_name : ${{ github.ref }}
219- draft : true
220- body : ${{ steps.get-changelog.outputs.changelog }}
216+ CHANGELOG : ${{ steps.get-changelog.outputs.changelog }}
217+ run : |
218+ gh release create "${{ github.ref_name }}" \
219+ --title "${{ github.ref_name }}" \
220+ --verify-tag \
221+ --notes "$CHANGELOG" \
222+ --draft
0 commit comments