Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 days 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 (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-14T14:25:03.000Z (about 2 years ago)
- Last Synced: 2024-12-11T00:42:06.929Z (11 days 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
![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)
![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)
![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)
![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge&logo=git&logoColor=white)
![Shell Script](https://img.shields.io/badge/shell_script-%23121011.svg?style=for-the-badge&logo=gnu-bash&logoColor=white)![](https://img.shields.io/github/v/release/garganshu/github-label-updater)
[![](https://img.shields.io/badge/marketplace-github--label--updater-green?style=flat-square)](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
-------- | ---
![Imgur1](https://i.imgur.com/aVIwGJh.png) | ![Imgur2](https://i.imgur.com/hhHuLWU.png)2. Remove All Label(s) of Filtered Issues
```
filter-labels: ready-for-review
remove-all-labels: true
```
Before | After
-------- | ---
![Imgur3](https://i.imgur.com/Qp1BBLM.png) | ![Imgur4](https://i.imgur.com/OyG2jjf.png)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/[email protected]
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)