Skip to content

RobinJesba/GitHub-Labeler-Action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Labeler Action

This GitHub Action allows you to automate the process of assigning labels to pull requests and issues in your repository.

Supported Actions

  • Assigning labels to Pull Requests is currently supported.

    Note: We are actively working on extending support to Issues in future releases.

Usage

Workflow Configuration

To use this action in your workflow, you can add a step like this:

- name: Assign Labels
  uses: RobinJesba/GitHub-Labeler-Action@v0.1.0
  with:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    LABELS_TO_ADD: enhancement
    LABELS_TO_REMOVE: bug,invalid

Inputs

  • GITHUB_TOKEN (required): A GitHub token to authenticate and authorize API requests to modify labels.

  • LABELS_TO_ADD (optional): A comma-separated list of labels to add to the pull request.

  • LABELS_TO_REMOVE (optional): A comma-separated list of labels to remove from the pull request.

Note: At least one of LABELS_TO_ADD or LABELS_TO_REMOVE should be provided. Providing both is also acceptable, allowing you to both add and remove labels in a single action.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you have any questions or encounter issues, please open an issue.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published