GH Action: merge staging(-next): comment on failure
Comment on the designated issue in case of a failure. Whoever wants to help out resolving merge conflicts can simply follow this issue.
This commit is contained in:
parent
24884e5aac
commit
318f929047
1 changed files with 9 additions and 0 deletions
9
.github/workflows/merge-staging.yml
vendored
9
.github/workflows/merge-staging.yml
vendored
|
@ -28,3 +28,12 @@ jobs:
|
|||
from_branch: staging-next
|
||||
target_branch: staging
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Comment on failure
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
issue-number: 105153
|
||||
body: |
|
||||
An automatic merge [failed](https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}).
|
||||
|
||||
|
|
Loading…
Reference in a new issue