@@ -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.1
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@5adcb0bb0f9fb3f95ef05400558bdb3f329ee808 # v2.1.0
2727 with :
2828 token : ${{ secrets.COMMAND_BOT_PAT }}
2929 repository : ${{ github.event.repository.full_name }}
3030 comment-id : ${{ github.event.comment.id }}
3131 reaction-type : " +1"
3232
3333 - name : Parse command
34- uses : skjnldsv/parse-command-comment@master
34+ uses : skjnldsv/parse-command-comment@e9cb9d1df338afed4295a59bbe27b4da53fd38a8 # master
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@653a7d5ca8bd91d3c5cb83286063314d0b063b8e # 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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
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.2
69+ uses : skjnldsv/read-package-engines-version-actions@1bdcee71fa343c46b18dc6aceffb4cd1e35209c6 # v1.2
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@v3
76+ uses : actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
7777 with :
7878 node-version : ${{ steps.package-engines-versions.outputs.nodeVersion }}
7979 cache : npm
@@ -108,7 +108,7 @@ 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@5adcb0bb0f9fb3f95ef05400558bdb3f329ee808 # v2.1.0
112112 if : failure()
113113 with :
114114 token : ${{ secrets.COMMAND_BOT_PAT }}
0 commit comments