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

👷 Add GitHub Actions workflow for automated invitations #53

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

AnandChowdhary
Copy link
Member

I've added a system that will automatically add people to the @eu organization.

How it works:

  1. Someone creates a new issue with a title similar to "Join"
  2. They automatically receive an invitation to join the organization
  3. A comment is added on the issue telling the user that they should accept the invitation
  4. The issue is automatically closed

It also has some check in place:

  • If you've already received an invitation, you are skipped
  • If the title is not "join" or "Join", the issue is skipped (could be a general discussion)

What to do before merging:

  1. Add secret GT_PAT with permissions to manage the organization.
  2. Ideally, I would like to be a maintainer of this project. This way, I can add my bot. Would it be possible to add me? For this, you can change my role from "Member" to "Owner".

This PR fixes #30.

@AnandChowdhary
Copy link
Member Author

In the future, I as a maintainer I would also like to:

  • Add a system to remind people to change their organization visibility "Public" for the badge to show on their profiles (when you're logged in, you can see the badge even if it's private, but people don't know that other users can't see it, currently 33% of all members are not public)
  • Add repository health files in .github
  • Add repository topics and details
  • Update guidelines on README.md
  • Update https://eu.github.io and host the README there

@AnandChowdhary
Copy link
Member Author

@3x did you have a chance to look at this PR? Thanks!

Copy link

@vacaramin vacaramin Jul 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be much better if you just used a community action for this based on label. and alongside, add an issue template for easy onboarding.
Similar to Voninc | Become a Member

 Invite_to_Organization:
    runs-on: ubuntu-latest
    needs: Dump_Github_Context
    steps:
      - name: Invite on label
        uses: vj-abigo/[email protected]
        with:
          organization: Voninc
          label: invitation
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          comment: 'Invitation has been sent'
        env:
          INVITE_TOKEN: ${{ secrets.TOKEN }}
          ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub Action to automate membership
2 participants