Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/3rdparty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-06-21 20:37:10 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-06-21 20:37:10 +0300
commit0bf50db5aad59205408a7486f4addca8698de741 (patch)
treeead93e1b480551dc6bca993bafcd088da03b3e63
parent78745a5f7e9f1d9ff48db3edb7d76ab1d0a189ed (diff)
Detect branch more correctly
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r--.github/workflows/composer-auto.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/composer-auto.yml b/.github/workflows/composer-auto.yml
index 3eb53cfa..7f4b1d26 100644
--- a/.github/workflows/composer-auto.yml
+++ b/.github/workflows/composer-auto.yml
@@ -11,7 +11,6 @@ jobs:
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/composer-update')
outputs:
- git_path: ${{ steps.git-path.outputs.path }}
head_ref: ${{ steps.comment-branch.outputs.head_ref }}
steps:
@@ -28,9 +27,9 @@ jobs:
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- - name: Parse command
- uses: skjnldsv/parse-command-comment@master
- id: command
+ - name: Init branch
+ uses: xt0rted/pull-request-comment-branch@v1
+ id: comment-branch
process:
runs-on: ubuntu-latest
@@ -72,7 +71,7 @@ jobs:
- name: Commit and push amend
run: |
- git add ${{ needs.init.outputs.git_path }}
+ git add .
git commit --amend --no-edit --signoff
git push --force origin ${{ needs.init.outputs.head_ref }}