Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brxxn/autolabel
a GitHub action to automatically label things in a repository.
https://github.com/brxxn/autolabel
github github-action github-api octokit
Last synced: about 14 hours ago
JSON representation
a GitHub action to automatically label things in a repository.
- Host: GitHub
- URL: https://github.com/brxxn/autolabel
- Owner: brxxn
- License: mit
- Created: 2019-05-12T20:26:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T21:46:08.000Z (about 2 years ago)
- Last Synced: 2024-03-04T03:37:20.659Z (11 months ago)
- Topics: github, github-action, github-api, octokit
- Language: JavaScript
- Size: 216 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Autolabel
A GitHub Action that automatically labels issues.
## What is it?
This closes issues automatically if they don't use a bracket with a label in front of their post. The label is automatically assigned to the issue. It works on both pull requests and issues, but it can be changed to disable it.
## Installation
**You must be in the GitHub Actions beta.** I, myself, am not in the GitHub Actions beta, which is why I had to use my friend's repository to test it.
1. Create a workflow in `.github/main.workflow`
2. Use the following content in the workflow file:```
workflow "issues" {
on = "issues"
resolves = ["autolabel"]
}action "autolabel" {
uses = "brxxn/autolabel@release"
secrets = ["GITHUB_TOKEN"]
}
```That's literally all you have to do.
## Configuration
### Command line arguments
* `--requireLabel` - requires that a label is put on every issue
* `--blacklistedLabels duplicate,wontfix` - blacklist labels that shouldn't be accessible. each label should be separated with `,`.
* `--disablePullRequests` - ignores pull requests
* `--disableIssues` - ignores issues.## Contributing
We don't use the GitHub Action here because we aren't in the beta. Feel free to open issues and make pull requests, just don't be annoying or whatever.