Skip to content

ecmwf-actions/labeler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

A GitHub action to manage PR/issue labels

Usage

Add label

Adds label bug to PR/issue no. 1 in owner/repo repository.

steps:
  - name: Add PR label
    uses: ecmwf-actions/labeler@v1
    with:
      token: ${{ secrets.MY_TOKEN }}
      repository: owner/repo
      issue: 1
      label: bug
      action: add

Remove label

Removes label bug from PR/issue no. 1 in owner/repo repository.

steps:
  - name: Remove PR label
    uses: ecmwf-actions/labeler@v1
    with:
      token: ${{ secrets.MY_TOKEN }}
      repository: owner/repo
      issue: 1
      label: bug
      action: remove

About

A GitHub action to manage issue/PR labels

Resources

Stars

Watchers

Forks

Packages

No packages published