Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 7728567

Browse files
committed
Add closed.yml GitHub workflow
1 parent 8e135a2 commit 7728567

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/closed.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# DO NOT EDIT: BEGIN
2+
# This snippet has been inserted automatically by mobsuccessbot, do not edit!
3+
# If changes are needed, update the action closed in
4+
# https://github.com/mobsuccess-devops/github-mobsuccess-policy
5+
name: Closed PR Housekeeping
6+
7+
on:
8+
pull_request:
9+
types: [closed]
10+
11+
jobs:
12+
ZapierReviewRequestedPurpleHeart:
13+
if: github.event.pull_request.merged == true
14+
name: "Zapier Purple Heart"
15+
runs-on: ubuntu-20.04
16+
timeout-minutes: 1
17+
steps:
18+
- name: "Sync emoji in #mobsuccess-review-requested"
19+
run: 'curl -D /dev/stderr -s "${{ secrets.ZAPIER_REVIEW_REQUESTED_PURPLE_HEART }}?repo=${{ github.repository }}&pr=${{ github.event.number }}"'
20+
21+
ZapierReviewRequestedRedCross:
22+
if: github.event.pull_request.merged == false
23+
name: "Zapier Red Cross"
24+
runs-on: ubuntu-20.04
25+
timeout-minutes: 1
26+
steps:
27+
- name: "Sync emoji in #mobsuccess-review-requested"
28+
run: 'curl -D /dev/stderr -s "${{ secrets.ZAPIER_REVIEW_REQUESTED_RED_CROSS }}?repo=${{ github.repository }}&pr=${{ github.event.number }}"'
29+
30+
CommentSubPRs:
31+
if: github.event.pull_request.merged == true
32+
name: "Comment rebase --onto on Sub PRs"
33+
runs-on: ubuntu-20.04
34+
timeout-minutes: 2
35+
steps:
36+
- uses: mobsuccess-devops/github-actions-mobsuccess@master
37+
with:
38+
github-token: ${{ github.token }}
39+
action: "after-pr-merged"
40+
# DO NOT EDIT: END

0 commit comments

Comments
 (0)