Update README.md #43
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 && contains(github.event.pull_request.labels.*.name, 'hacktoberfest-accepted') }} | |
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 @${{ github.event.pull_request.user.login }} for your contribution! | |
![Image](assets/gh/image.png) |