Github Label Updater
Updating labels made easy in your workflow using Github Label Updater
💎
Why is this plugin in action? -
Improves the developer productivity to auto update labels
🏷️ -
Configurable action and helps to automate the workflow
🔨 -
Effective CI/CD pipelines
✅
How to use?
- 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 |
---|---|
- 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 Label
on: [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