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:
Frederik Rietdijk 2020-11-28 15:53:17 +01:00
parent 24884e5aac
commit 318f929047

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