File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 comment :
9- if : github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch
9+ if : github.event.pull_request.merged
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
12+ - uses : actions/github-script@v3
1313 with :
14+ github-token : ${{secrets.GITHUB_TOKEN}}
1415 script : |
1516 github.issues.createComment({
16- ...context.repo,
17- issue_number: context.payload.pull_request.number,
18- body: 'Thanks for contributing! Your pull request has been merged 🎉'
17+ issue_number: context.issue.number,
18+ owner: context.repo.owner,
19+ repo: context.repo.repo,
20+ body: '👋 Thanks for contributing!'
1921 })
You can’t perform that action at this time.
0 commit comments