Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/capdiem/needs-triage
Add or remove the 'needs triage' label automatically
https://github.com/capdiem/needs-triage
Last synced: 26 days ago
JSON representation
Add or remove the 'needs triage' label automatically
- Host: GitHub
- URL: https://github.com/capdiem/needs-triage
- Owner: capdiem
- License: mit
- Created: 2023-01-28T06:38:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T07:38:17.000Z (almost 2 years ago)
- Last Synced: 2024-11-25T19:07:43.517Z (28 days ago)
- Language: TypeScript
- Homepage:
- Size: 370 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Needs triage
This Needs triage action automatically adds a 'Needs triage' tag to the newly opened issue.
## Creating
add a file to `.github/workflows/needs-triage.yml`
```yml
name: needs triage
on:
issues:
types: [opened, labeled]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: capdiem/[email protected]
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
eventType: ${{ github.event.action }}
labelName: 'Needs triage'
secondsUtilLabel: 60,
goodFirstIssue: true
```## Inputs
| Name | Description | Required | Default |
| ---------------- | ---------------------------------------------- | -------- | -------------- |
| repoToken | Github token for the repository | true | - |
| eventType | The activity type of current event | true | - |
| labelName | Name to be added as the triage | false | 'Needs triage' |
| secondsUtilLabel | Number of seconds before being added as triage | false | 60 |
| goodsFirstIssue | Add "good first issue" for newcomeres | false | false |