From 318f9290475f7fd295a7b6b1df0be907e24b63f9 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 28 Nov 2020 15:53:17 +0100 Subject: [PATCH] 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. --- .github/workflows/merge-staging.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/merge-staging.yml b/.github/workflows/merge-staging.yml index a3dd1911370..c76c66713cf 100644 --- a/.github/workflows/merge-staging.yml +++ b/.github/workflows/merge-staging.yml @@ -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 }}). +