Skip to content

tmknom/cross-labeler-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cross-labeler-action

Run actions/labeler with configuration shared across repositories.

Description

This action serves as a convenient wrapper for actions/labeler. Automatically assigning labels to new pull requests based on changed file paths or branch names, similar to actions/labeler.

Usage

To set up the action, you need to create a YAML file that defines your configurations. Refer to the detailed configuration syntax for the labeler in actions/labeler.

Configuration URL

  steps:
    - name: Cross Labeler
      uses: tmknom/cross-labeler-action@v0
      with:
        configuration-url: https://raw.githubusercontent.com/tmknom/configurations/main/labeler/conventional-commits.yml

Configuration Path

  steps:
    - name: Cross Labeler
      uses: tmknom/cross-labeler-action@v0
      with:
        configuration-path: .github/labeler.yml

Inputs

Name Description Default Required
configuration-path The path for the label configurations. n/a no
configuration-url The url for the label configurations. n/a no
pr-number The pull request number(s). n/a no

Outputs

Name Description
configuration-path The path for the configuration file to passing actions/labeler.
configuration-sha256 SHA256 of the configuration file to passing actions/labeler.

Permissions

Scope Access
contents read
pull-requests write
issues write

FAQ

N/A

Related projects

Release notes

See GitHub Releases.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors