summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-11-28 15:53:17 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2020-11-29 13:19:51 +0100
commit318f9290475f7fd295a7b6b1df0be907e24b63f9 (patch)
treeabf36714a9c08526f32095cd74798b013de21d15
parent24884e5aac7c095ec2c8a895f8825a3f675088ec (diff)
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.
-rw-r--r--.github/workflows/merge-staging.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/merge-staging.yml b/.github/workflows/merge-staging.yml
index a3dd1911370f7..c76c66713cfb2 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 }}).
+