Skip to content

GitHub Organization Auto Invitation Bot with User Interface. Anyone need to give his email and submit. He will get invitation instantly to his emil address.

License

Notifications You must be signed in to change notification settings

devlancer-lucas/org-invite-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

org-invite-bot

🤖 The action used to check the problem and invite members to the organization

language-javascript LICENSE MIT

A Github operation, used to trigger an event by opening an organization invitation question, and automatically send an organization invitation to the questioner

Welcome contributors to improve this project together!

Usage

Create a workflow file such as .github/workflows/invitation.yml (you can find it in this repo)

name: invitation
on:
  issues:
    types: [opened]

jobs:
  welcome:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: ⬇️ npm install
        uses: actions/npm-install@v1
      - name: 🚀 send invitation
        run: node index.js
        env:
          GITHUB_ORG_NAME: ${secrets.GITHUB_ORG_NAME}
          GH_TOKEN: ${{ secrets.secrets }}
      - name: 💌 send thank you
        uses: actions/github/create-issue@v1
        with:
          title: Thank you for your contribution
          body: Thank you for your contribution.
      - name: 🔒 close issue
        uses: actions/close-pr@v1

Parameters

Parameter Description Required Default
GITHUB_ORG_NAME Organizational name yes You can just pass ${{secrets.GITHUB_ORG_NAME}}
GH_TOKEN Github Access Token yes You can just pass ${{secrets.GITHUB_TOKEN}}

Maintainer

songdaochuanshu/
devlancer-lucas

How to contribute

You should follow our Code of Conduct.

License

MIT © devlancer-lucas

About

GitHub Organization Auto Invitation Bot with User Interface. Anyone need to give his email and submit. He will get invitation instantly to his emil address.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published