Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add closed.yml GitHub workflow #10

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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 }}"'

CommentSubPRs:
if: github.event.pull_request.merged == true
name: "Comment rebase --onto on Sub PRs"
runs-on: ubuntu-20.04
timeout-minutes: 2
steps:
- uses: mobsuccess-devops/github-actions-mobsuccess@master
with:
github-token: ${{ github.token }}
action: "after-pr-merged"
# DO NOT EDIT: END
Loading