From 4948356165bc6ad6a5f2377bd1e4bd3de0cc392a Mon Sep 17 00:00:00 2001 From: Mobsuccess Bot Date: Thu, 1 Sep 2022 10:59:56 +0000 Subject: [PATCH] Add closed.yml GitHub workflow --- .github/workflows/closed.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/closed.yml diff --git a/.github/workflows/closed.yml b/.github/workflows/closed.yml new file mode 100644 index 0000000..9788266 --- /dev/null +++ b/.github/workflows/closed.yml @@ -0,0 +1,29 @@ +# DO NOT EDIT: BEGIN +# This snippet has been inserted automatically by mobsuccessbot, do not edit! +# If changes are needed, update the action closed in +# https://github.com/mobsuccess-devops/github-mobsuccess-policy +name: Closed PR Housekeeping + +on: + pull_request: + types: [closed] + +jobs: + ZapierReviewRequestedPurpleHeart: + if: github.event.pull_request.merged == true + name: "Zapier Purple Heart" + runs-on: ubuntu-20.04 + timeout-minutes: 1 + steps: + - name: "Sync emoji in #mobsuccess-review-requested" + run: 'curl -D /dev/stderr -s "${{ secrets.ZAPIER_REVIEW_REQUESTED_PURPLE_HEART }}?repo=${{ github.repository }}&pr=${{ github.event.number }}"' + + ZapierReviewRequestedRedCross: + if: github.event.pull_request.merged == false + name: "Zapier Red Cross" + runs-on: ubuntu-20.04 + timeout-minutes: 1 + steps: + - name: "Sync emoji in #mobsuccess-review-requested" + run: 'curl -D /dev/stderr -s "${{ secrets.ZAPIER_REVIEW_REQUESTED_RED_CROSS }}?repo=${{ github.repository }}&pr=${{ github.event.number }}"' +# DO NOT EDIT: END