Skip to content

Commit 732147c

Browse files
authored
Merge pull request #118 from namoscato/ignore-labels
Add ignore-labels input
2 parents e4482c7 + 43ddf8b commit 732147c

File tree

14 files changed

+10910
-2162
lines changed

14 files changed

+10910
-2162
lines changed

.eslintrc.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"parserOptions": {
66
"ecmaVersion": 9,
77
"sourceType": "module",
8-
"project": "./tsconfig.json"
8+
"project": "./tsconfig.eslint.json"
99
},
1010
"rules": {
1111
"i18n-text/no-en": "off",
@@ -107,5 +107,14 @@
107107
"node": true,
108108
"es6": true,
109109
"jest/globals": true
110-
}
110+
},
111+
"overrides": [
112+
{
113+
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(test).[jt]s?(x)"],
114+
"rules": {
115+
"@typescript-eslint/no-explicit-any": "off",
116+
"filenames/match-regex": ["error", "^[a-z0-9-]+\\.test$"]
117+
}
118+
}
119+
]
111120
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Make sure to add the relevant inputs:
3434
3535
- `repo-token` is your `${{ secrets.GITHUB_TOKEN }}`. You may encounter an error where this token does not have the necessary permissions to access an organization or teams. At EquityBee, we use PATs (Personal Access Token) instead. Create a [personal access token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) with the repo or public_repo scopes enabled, and add the token as an [encrypted secret](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) for the repository or organization
3636
- `organization-name` is the name/slug of your Github organization (it comes right after `https://github.com/`)
37+
- `ignore-labels` is an optional, comma-separated list of labels to ignore
3738

3839
## Internal use
3940

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ inputs:
1111
organization-name:
1212
required: true
1313
description: 'Tis the name/slug of your Github organization (it comes right after https://github.com/)'
14+
ignore-labels:
15+
required: false
16+
description: 'Optional comma-separated list of labels to ignore'
1417
runs:
1518
using: 'node12'
1619
main: 'dist/index.js'

0 commit comments

Comments
 (0)