Skip to content

Commit

Permalink
Merge pull request #118 from namoscato/ignore-labels
Browse files Browse the repository at this point in the history
Add ignore-labels input
  • Loading branch information
drummerjolev authored Sep 27, 2022
2 parents e4482c7 + 43ddf8b commit 732147c
Show file tree
Hide file tree
Showing 14 changed files with 10,910 additions and 2,162 deletions.
13 changes: 11 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"project": "./tsconfig.json"
"project": "./tsconfig.eslint.json"
},
"rules": {
"i18n-text/no-en": "off",
Expand Down Expand Up @@ -107,5 +107,14 @@
"node": true,
"es6": true,
"jest/globals": true
}
},
"overrides": [
{
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(test).[jt]s?(x)"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"filenames/match-regex": ["error", "^[a-z0-9-]+\\.test$"]
}
}
]
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Make sure to add the relevant inputs:
- `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
- `organization-name` is the name/slug of your Github organization (it comes right after `https://github.com/`)
- `ignore-labels` is an optional, comma-separated list of labels to ignore

## Internal use

Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ inputs:
organization-name:
required: true
description: 'Tis the name/slug of your Github organization (it comes right after https://github.com/)'
ignore-labels:
required: false
description: 'Optional comma-separated list of labels to ignore'
runs:
using: 'node12'
main: 'dist/index.js'
Loading

0 comments on commit 732147c

Please sign in to comment.