ci: add workflow to notify with comment for merged PR #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |