https://github.com/garganshu/github-label-updater
Update label of Github issues
https://github.com/garganshu/github-label-updater
github-actions github-issues github-label github-label-management hacktoberfest javascript labels nodejs updater
Last synced: 2 months ago
JSON representation
Update label of Github issues
- Host: GitHub
- URL: https://github.com/garganshu/github-label-updater
- Owner: garganshu
- License: mit
- Created: 2022-10-14T08:34:06.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-14T14:25:03.000Z (almost 3 years ago)
- Last Synced: 2025-07-04T15:18:02.384Z (3 months ago)
- Topics: github-actions, github-issues, github-label, github-label-management, hacktoberfest, javascript, labels, nodejs, updater
- Language: JavaScript
- Homepage:
- Size: 1.04 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README





[](https://github.com/marketplace/actions/github-label-updater)# Github Label Updater
Updating labels made easy in your workflow using Github Label Updater :white_check_mark:
Why is this plugin in action? :gem:
----* Improves the developer productivity to auto update labels :label:
* Configurable action and helps to automate the workflow :hammer:
* Effective CI/CD pipelines :white_check_mark:
How to use?
----1. Add Label(s) to Filtered Issues
```
filter-labels: ready-for-review
remove-all-labels: false
remove-labels: ready-for-review
add-labels: fixed,enhancement
```
Before | After
-------- | ---
 | 2. Remove All Label(s) of Filtered Issues
```
filter-labels: ready-for-review
remove-all-labels: true
```
Before | After
-------- | ---
 | Inputs
------### `owner`
**Required**
Owner of Organization or Repository### `repo`
**Required**
Repository name### `token`
**Required**
Github access token### `filter-labels`
Filter issues which contains all labels eg. label1,label2
Default - fetches all issues### `remove-all-labels`
Remove all labels from the issues eg. true/false
Default - false### `remove-labels`
Remove labels from the issues eg. label1,label2
### `add-labels`
Add labels to the issues eg. label1,label2
## Sample usage
```
name: Update Issues Labelon: [push]
jobs:
build:runs-on: ubuntu-latest
steps:
- name: update label
id: updater
uses: garganshu/github-label-updater@v1.0.0
with:
owner: ${{secrets.OWNER}}
repo: ${{secrets.REPO}}
token: ${{secrets.TOKEN}}
filter-labels: wip,bug,invalid
remove-all-labels: false
remove-labels: wip,invalid
add-labels: fixed,enhancement```
Projects using Github Label Updater? 🚀
----### `Frontier` - Your Front Seat to Crypto and DeFi (frontier.xyz)