docs: add @Sheko100 as a contributor #528
Workflow file for this run
This file contains hidden or 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: Intro Course Contributor Action | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| intro_course_contributor: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Post comment for course contributors | |
| if: contains(github.event.pull_request.title, 'as a contributor') | |
| run: | | |
| PR_COMMENT="Congratulations on completing the How to Contribute to Open Source chapter of the Intro to Open Source Course with your contribution to this repository, @${{ github.actor }}! You're almost to the end of the course!" | |
| curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -X POST -d "{\"body\":\"$PR_COMMENT\"}" "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" |