mirror of
https://github.com/actions/labeler.git
synced 2025-12-10 11:41:56 +00:00
33 lines
971 B
YAML
33 lines
971 B
YAML
name: 'Labeler'
|
|
description: 'Automatically label new pull requests based on the paths of files being changed'
|
|
author: 'GitHub'
|
|
inputs:
|
|
repo-token:
|
|
description: 'The GitHub token used to manage labels'
|
|
required: false
|
|
default: ${{ github.token }}
|
|
configuration-path:
|
|
description: 'The path for the label configurations'
|
|
default: '.github/labeler.yml'
|
|
required: false
|
|
sync-labels:
|
|
description: 'Whether or not to remove labels when matching files are reverted'
|
|
default: false
|
|
required: false
|
|
dot:
|
|
description: 'Whether or not to auto-include paths starting with dot (e.g. `.github`)'
|
|
default: true
|
|
required: false
|
|
pr-number:
|
|
description: 'The pull request number(s)'
|
|
required: false
|
|
|
|
outputs:
|
|
new-labels:
|
|
description: 'A comma-separated list of all new labels'
|
|
all-labels:
|
|
description: 'A comma-separated list of all labels that the PR contains'
|
|
runs:
|
|
using: 'node20'
|
|
main: 'dist/index.js'
|