🤖 The action used to check the problem and invite members to the organization
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!
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
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}} |
devlancer-lucas |
You should follow our Code of Conduct.
MIT © devlancer-lucas