Update README.md #7
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
on: | ||
pull_request: | ||
types: [closed] | ||
jobs: | ||
comment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Comment on PR | ||
if: github.event.pull_request.merged == true && github.event.pull_request.labels.*.name contains 'okayy' | ||
Check failure on line 13 in .github/workflows/pr-merged.yaml GitHub Actions / .github/workflows/pr-merged.yamlInvalid workflow file
|
||
uses: peter-evans/create-or-update-comment@v1 | ||
with: | ||
token: ${{ secrets.GH_ACTIONS }} | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body: | | ||
This PR has been merged and labeled "okayy"! Thanks @$PR_JSON.author for your contribution! | ||
![Image](assets/gh/image.png) |