File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 33# https://github.com/nextcloud/.github
44# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
55
6+ name : Rebase command
7+
68on :
79 issue_comment :
8- types : [ created ]
9-
10- name : Automatic Rebase
10+ types : created
1111
1212jobs :
1313 rebase :
14- name : Rebase
14+ runs-on : ubuntu-latest
15+
1516 # On pull requests and if the comment starts with `/rebase`
1617 if : github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
17- runs-on : ubuntu-latest
1818
1919 steps :
2020 - name : Add reaction on start
3030 with :
3131 fetch-depth : 0
3232 token : ${{ secrets.COMMAND_BOT_PAT }}
33-
33+
3434 - name : Automatic Rebase
3535 uses : cirrus-actions/rebase@1.5
3636 env :
3737 GITHUB_TOKEN : ${{ secrets.COMMAND_BOT_PAT }}
38+
39+ - name : Add reaction on failure
40+ uses : peter-evans/create-or-update-comment@v1
41+ if : failure()
42+ with :
43+ token : ${{ secrets.COMMAND_BOT_PAT }}
44+ repository : ${{ github.event.repository.full_name }}
45+ comment-id : ${{ github.event.comment.id }}
46+ reaction-type : " -1"
You can’t perform that action at this time.
0 commit comments