1- # SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
1+ # This workflow is provided via the organization template repository
2+ #
3+ # https://github.com/nextcloud-libraries/.github
4+ # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+ #
6+ # SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
27# SPDX-License-Identifier: MIT
8+
39name : Command L10n Update
410on :
511 issue_comment :
@@ -18,19 +24,19 @@ jobs:
1824
1925 steps :
2026 - name : Add reaction on start
21- uses : peter-evans/create-or-update-comment@v4
27+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
2228 with :
2329 token : ${{ secrets.COMMAND_BOT_PAT }}
2430 repository : ${{ github.event.repository.full_name }}
2531 comment-id : ${{ github.event.comment.id }}
2632 reaction-type : " +1"
2733
2834 - name : Parse command
29- uses : skjnldsv/parse-command-comment@master
35+ uses : skjnldsv/parse-command-comment@5c955203c52424151e6d0e58fb9de8a9f6a605a1 # v3.1.0
3036 id : command
3137
3238 - name : Init branch
33- uses : xt0rted/pull-request-comment-branch@v3
39+ uses : xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1 # v3.0.0
3440 id : comment-branch
3541
3642 process :
5157 git config --local user.name "nextcloud-command"
5258
5359 - name : Set up node
54- uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
60+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5561 with :
5662 node-version-file : package.json
5763
8288 git push --force origin ${{ needs.init.outputs.head_ref }}
8389
8490 - name : Add reaction on failure
85- uses : peter-evans/create-or-update-comment@v4
91+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
8692 if : failure()
8793 with :
8894 token : ${{ secrets.COMMAND_BOT_PAT }}
0 commit comments