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.
gstqt5
Frederik Rietdijk 2020-11-28 15:53:17 +01:00
parent 24884e5aac
commit 318f929047
1 changed files with 9 additions and 0 deletions

View File

@ -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 }}).