@@ -18,43 +18,43 @@ jobs:
1818
1919 steps :
2020 - name : Check actor permission
21- uses : skjnldsv/check-actor-permission@v2
21+ uses : skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2
2222 with :
2323 require : write
2424
2525 - name : Add reaction on start
26- uses : peter-evans/create-or-update-comment@v1
26+ uses : peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
2727 with :
2828 token : ${{ secrets.COMMAND_BOT_PAT }}
2929 repository : ${{ github.event.repository.full_name }}
3030 comment-id : ${{ github.event.comment.id }}
31- reaction-type : " +1"
31+ reactions : " +1"
3232
3333 - name : Parse command
34- uses : skjnldsv/parse-command-comment@master
34+ uses : skjnldsv/parse-command-comment@7cef1df370a99dfd5bf896d50121390c96785db8 # v2
3535 id : command
3636
3737 # Init path depending on which command is run
3838 - name : Init path
3939 id : git-path
40- run : |
40+ run : |
4141 if ${{ startsWith(steps.command.outputs.arg1, '/') }}; then
42- echo "::set-output name= path:: ${{ github.workspace }}${{steps.command.outputs.arg1}}"
42+ echo "path= ${{ github.workspace }}${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
4343 else
44- echo "::set-output name= path:: ${{ github.workspace }}${{steps.command.outputs.arg2}}"
44+ echo "path= ${{ github.workspace }}${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
4545 fi
4646
4747 - name : Init branch
48- uses : xt0rted/pull-request-comment-branch@v1
48+ uses : xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
4949 id : comment-branch
50-
50+
5151 process :
5252 runs-on : ubuntu-latest
5353 needs : init
5454
5555 steps :
5656 - name : Checkout ${{ needs.init.outputs.head_ref }}
57- uses : actions/checkout@v3
57+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
5858 with :
5959 token : ${{ secrets.COMMAND_BOT_PAT }}
6060 fetch-depth : 0
@@ -66,14 +66,14 @@ jobs:
6666 git config --local user.name "nextcloud-command"
6767
6868 - name : Read package.json node and npm engines version
69- uses : skjnldsv/read-package-engines-version-actions@v1
69+ uses : skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
7070 id : package-engines-versions
7171 with :
72- fallbackNode : ' ^12 '
73- fallbackNpm : ' ^6 '
72+ fallbackNode : ' ^16 '
73+ fallbackNpm : ' ^7 '
7474
7575 - name : Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
76- uses : actions/setup-node@v2
76+ uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
7777 with :
7878 node-version : ${{ steps.package-engines-versions.outputs.nodeVersion }}
7979 cache : npm
9090 if : ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
9191 run : |
9292 git add ${{ needs.init.outputs.git_path }}
93- git commit --signoff -m 'Compile assets'
93+ git commit --signoff -m 'chore(assets): Recompile assets'
9494 git push origin ${{ needs.init.outputs.head_ref }}
9595
9696 - name : Commit and push fixup
@@ -108,10 +108,10 @@ jobs:
108108 git push --force origin ${{ needs.init.outputs.head_ref }}
109109
110110 - name : Add reaction on failure
111- uses : peter-evans/create-or-update-comment@v1
111+ uses : peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
112112 if : failure()
113113 with :
114114 token : ${{ secrets.COMMAND_BOT_PAT }}
115115 repository : ${{ github.event.repository.full_name }}
116116 comment-id : ${{ github.event.comment.id }}
117- reaction-type : " -1"
117+ reactions : " -1"
0 commit comments