Skip to content

Commit

Permalink
🎈 Add actions description
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Nov 27, 2020
1 parent de0eaa8 commit bde6525
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 10 additions & 0 deletions actions-description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## πŸ€– Actions Description

| Name | Trigger | Description |
| -- | -- | -- |
| add-need-info | Issue labeled `need accurate info` | Used to remind applicant that the issue format is incorrect. |
| auto-invite | Issue labeled `auto invited` | Automatically invite applicant to join the organization based on issue. And will close the issue. |
| check-application | Issue labeled `πŸ’– Application` | Check if the issue format is correct. If it is, will added `auto invited` label automatically, else added `need accurate info`. |
| check-need-info | Every 7 days | Issue will be closed when it labeled `need accurate info` but not active for a long time. |
| fix-need-info | Issue edit with `need accurate info` label | Check whether the revised format of issue is correct. If correct, will added `auto invited` label, else comment to remind. |
| labeler | Issue opened | For newly opened issue add `πŸ’– Application` label. |
3 changes: 0 additions & 3 deletions script/check-application.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require('dotenv').config();
const { Octokit } = require('@octokit/rest');
const axios = require('axios');

const {
GH_TOKEN: githubToken,
Expand All @@ -21,8 +20,6 @@ const octokit = new Octokit({

const owner = 'zoo-js';
const repo = 'zoo';
const url = 'https://raw.githubusercontent.com/zoo-js/zoo-data/main/json/organizations.json';
let organizations = [];

async function main() {
const res = await octokit.issues.get({
Expand Down

0 comments on commit bde6525

Please sign in to comment.