Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add information on guestbook #200

Merged
merged 4 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/maintainer_course.yml
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 3 additions & 0 deletions docs/becoming-a-maintainer/maintainers-guestbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ Congratulations on finishing the Becoming a Maintainer Course with OpenSauced. W
<!--
- [project name](link to your repository) by [GitHub username](link to your GitHub profile)
-->

- [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/)
Loading