aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-08-01 10:34:50 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-08-01 10:34:50 +0200
commitebd992ade29734643cf8cc01233220901c7ee536 (patch)
tree7b51f8678255e5cf1b36043ef9f8e6c5cadab24f
parent9241a38fc2ee6d285e96819389c7b941c60e7451 (diff)
downloadnextcloud-server-ebd992ade29734643cf8cc01233220901c7ee536.tar.gz
nextcloud-server-ebd992ade29734643cf8cc01233220901c7ee536.zip
Fixes in update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--.github/workflows/command-pull-3rdparty.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/command-pull-3rdparty.yml b/.github/workflows/command-pull-3rdparty.yml
index a8f32818242..e5ebaff285b 100644
--- a/.github/workflows/command-pull-3rdparty.yml
+++ b/.github/workflows/command-pull-3rdparty.yml
@@ -18,18 +18,23 @@ jobs:
steps:
- name: Add reaction on start
- uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa
+ uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
- reaction-type: "+1"
+ reactions: "+1"
- - name: Checkout the latest code
+ - name: Init branch
+ uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
+ id: comment-branch
+
+ - name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
+ ref: ${{ steps.comment-branch.outputs.head_ref }}
- name: Setup git
run: |
@@ -46,10 +51,10 @@ jobs:
git push
- name: Add reaction on failure
- uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa
+ uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
- reaction-type: "-1"
+ reactions: "-1"