DEV Community

Eddie Jaoude
Eddie Jaoude

Posted on

Community GitHub Action that welcomes and logs stats from the community

My Workflow

gh-action-community is being used on all our community repositories to welcome and log statistics from the community so that we can give out digital badges. It is being used on our support repo as well as other repos in our community GitHub organisation https://github.com/EddieJaoudeCommunity

Everything is configurable from the reply messages to Issues and Pull Requests, to which events to log for gamification.

Submission Category:

I think this belongs in the Maintainer Must-Haves category, to be inclusive and gamify community contributions.

Yaml File or Link to Code

GitHub logo EddieHubCommunity / gh-action-community

GitHub Action for the Community, from welcoming first timers to badges

GitHub Action Community

GitHub Action for the Community - from welcoming first timers to logging your activity for badges!

GitHub Action Features 💡

These GitHub Actions will:

  • reply to all new Issues and Pull Requests
  • log statistics of user activity to Firestore DB (Firebase)

Quickstart

You can use 1 or all of these GitHub Actions.

To create a GitHub Action

  1. In the folder .github/workflows/
  2. Create a file welcome.yaml (or another name you prefer)
  3. Add the Action config

Welcoming message

This GitHub Action will reply to all new Issues and Pull Requests with a custom message

Example usage (you can change the replies for issue-message and pr-message)

  welcome
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@main
      - uses: EddieHubCommunity/gh-action-community/src/welcome@main
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          issue-message: '<h1>It''s great having you contribute to this project</h1> Feel free to raise an <strong>Issue</strong>! Welcome to
…
Enter fullscreen mode Exit fullscreen mode

Additional Resources / Info

GitHub logo EddieHubCommunity / support

Community Help & Support and AEA (Ask Everyone Anything)

Open in Gitpod

Community Support

Discord

Join the Discord Community — Subscribe to Eddie Jaoude's YouTube channel


Guides

  • Raise an issue to join the EddieHub GitHub organisation.

  • Actions go under issues

    • Bugs

    • Add me to the organization

  • Miscellaneous go under Discussions

    • Questions

    • Ideas (once discussed, an Issue could be created and linked to the Discussion thread)

    • Showcase of Open Source Portfolios to get feedback from community members.

    • Feel free to check out other cool repositories of EddieHub here


FAQs

  • What is a GitHub Organization? Essentially it's a way to group many repositories in an entity called an organization. An organization also allows us to group people who contribute and are a part of the community. Some examples would be - Netflix, Facebook, and of course EddieHub Learn more on GitHub docs.

  • How do I join the Github Organization? Raise an issue on this repository asking to join (invite…

Top comments (3)

Collapse
 
fennecdjay profile image
Jérémie Astor

That's pretty nice!
Could you make a post about implementing gamification with this? I'd love to read that!

Collapse
 
eddiejaoude profile image
Eddie Jaoude

I have more blog posts coming out soon to go along with my YouTube videos

Collapse
 
eddiejaoude profile image
Eddie Jaoude

Good idea! Thank you :)