mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #6190: feat: improve merge-check action to leave a comment and label to PRs
5394d63e18
feat: improve merge-check action to leave a comment and label to PRs (pasta) Pull request description: ## Issue being fixed or feature implemented this is untested but I think it'll work, simply add comment and label to PRs which fail this CI ## What was done? ## How Has This Been Tested? hasn't but if this action breaks that is not critical ## Breaking Changes None ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK5394d63e18
Tree-SHA512: 78ae7c05446a0625143fb7e04b7e63ae0830ca45cde4f924eb4e04dfb12ac3cc9e697efbd914a71a9b5ba98400597e7559258b5d93419ed7eb7cc14a9b876fe7
This commit is contained in:
commit
23d84c6d92
22
.github/workflows/merge-check.yml
vendored
22
.github/workflows/merge-check.yml
vendored
@ -1,8 +1,12 @@
|
||||
name: Check Merge Fast-Forward Only
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
- push
|
||||
- pull_request_target
|
||||
- pull_request_review
|
||||
|
||||
jobs:
|
||||
check_merge:
|
||||
@ -27,3 +31,17 @@ jobs:
|
||||
else
|
||||
git merge --ff-only ${{ github.sha }}
|
||||
fi
|
||||
|
||||
- name: add labels
|
||||
uses: actions-ecosystem/action-add-labels@v1
|
||||
if: failure()
|
||||
with:
|
||||
labels: |
|
||||
needs rebase
|
||||
|
||||
- name: comment
|
||||
uses: mshick/add-pr-comment@v2
|
||||
if: failure()
|
||||
with:
|
||||
message: |
|
||||
This pull request has conflicts, please rebase.
|
||||
|
Loading…
Reference in New Issue
Block a user