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

ci: add workflow to notify with comment for merged PR #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
25 changes: 25 additions & 0 deletions .github/workflows/merge-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Notify on PR merge

on:
pull_request:
branches:
- master
types: [closed]

jobs:
comment:
runs-on: ubuntu-latest

# event docs see https://docs.github.com/de/webhooks/webhook-events-and-payloads?actionType=closed#pull_request
if: github.event.pull_request.merged == true

timeout-minutes: 5

steps:
- name: Comment plan
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
token: ${{ github.token }}
issue-number: ${{ github.event.pull_request.number }}
body: |
@wetransform/service Please make sure that the PostNAS alignments are adapted accordingly.
Loading