Skip to content

Commit bde6525

Browse files
committed
🎈 Add actions description
1 parent de0eaa8 commit bde6525

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

β€Žactions-description.mdβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## πŸ€– Actions Description
2+
3+
| Name | Trigger | Description |
4+
| -- | -- | -- |
5+
| add-need-info | Issue labeled `need accurate info` | Used to remind applicant that the issue format is incorrect. |
6+
| auto-invite | Issue labeled `auto invited` | Automatically invite applicant to join the organization based on issue. And will close the issue. |
7+
| 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`. |
8+
| check-need-info | Every 7 days | Issue will be closed when it labeled `need accurate info` but not active for a long time. |
9+
| 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. |
10+
| labeler | Issue opened | For newly opened issue add `πŸ’– Application` label. |

β€Žscript/check-application.jsβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
require('dotenv').config();
22
const { Octokit } = require('@octokit/rest');
3-
const axios = require('axios');
43

54
const {
65
GH_TOKEN: githubToken,
@@ -21,8 +20,6 @@ const octokit = new Octokit({
2120

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

2724
async function main() {
2825
const res = await octokit.issues.get({

0 commit comments

Comments
Β (0)