diff --git a/.github/workflows/maintainer_course.yml b/.github/workflows/maintainer_course.yml new file mode 100644 index 00000000..dc89ad9e --- /dev/null +++ b/.github/workflows/maintainer_course.yml @@ -0,0 +1,20 @@ +name: Maintainer Course 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, 'adds repo to guestbook') + run: | + PR_COMMENT="Congratulations on completing the Becoming a Maintainer Course with your contribution to this repository, @${{ github.actor }}! We'd love to continue to amplify your project. Here are some ways to do that: Create a [highlight](https://app.opensauced.pizza/feed) of your contribution to our guestbook — [more info here](https://docs.opensauced.pizza/features/highlights/) — and share it with us in our Discord channel [#open-source-education-path](https://discord.gg/opensauced)!" + 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" \ No newline at end of file diff --git a/docs/becoming-a-maintainer/maintainers-guestbook.md b/docs/becoming-a-maintainer/maintainers-guestbook.md index e2953ff0..ab5503ba 100644 --- a/docs/becoming-a-maintainer/maintainers-guestbook.md +++ b/docs/becoming-a-maintainer/maintainers-guestbook.md @@ -8,3 +8,6 @@ Congratulations on finishing the Becoming a Maintainer Course with OpenSauced. W + +- [Virtual Coffee](https://github.com/virtual-Coffee/virtualcoffee.io/) by [VirtualCoffee](https://github.com/virtual-Coffee/) +- [Postpartum Wellness App](https://github.com/BekahHW/postpartum-wellness-app) by [BekahHW](https://github.com/BekahHW/) \ No newline at end of file