Skip to content

eeeee

eeeee #22

name: Merged notification
on:
pull_request_target:
types:
- closed
jobs:
comment:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Thanks for contributing!'
})