Please invite me to the GitHub Community Organization #20
This file contains 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: 🏡 Invite to Organisation | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
automate_invite: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Invite on label | |
uses: vj-abigo/[email protected] | |
with: | |
organization: MilanCommunity | |
label: invite me to the organisation | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
comment: | |
"<b>Hi @${{ github.actor }}, We just sent you an invite to our Organization. Welcome to the community | |
🎉</b><br><br>Don't forget after accepting to make it public so it | |
appears on your GitHub profile for everyone else to see. You can do | |
this by finding your name in the GitHub organisation list and change | |
the dropdown to public | |
https://github.com/orgs/MilanCommunity/people<br>" | |
env: | |
INVITE_TOKEN: ${{ secrets.ORG_INVITE_TOKEN }} |