2020-03-05 12:57:26 -05:00
|
|
|
name: 'Labeler'
|
2021-06-03 12:43:19 -04:00
|
|
|
description: 'Automatically label new pull requests based on the paths of files being changed'
|
2019-08-08 13:07:40 -04:00
|
|
|
author: 'GitHub'
|
2021-06-03 12:43:19 -04:00
|
|
|
inputs:
|
2019-08-08 13:07:40 -04:00
|
|
|
repo-token:
|
2023-03-07 12:25:56 +01:00
|
|
|
description: 'The GitHub token used to manage labels'
|
|
|
|
|
required: false
|
|
|
|
|
default: ${{ github.token }}
|
2019-08-08 13:07:40 -04:00
|
|
|
configuration-path:
|
|
|
|
|
description: 'The path for the label configurations'
|
|
|
|
|
default: '.github/labeler.yml'
|
2020-09-08 13:09:16 -04:00
|
|
|
required: false
|
|
|
|
|
sync-labels:
|
|
|
|
|
description: 'Whether or not to remove labels when matching files are reverted'
|
|
|
|
|
default: false
|
|
|
|
|
required: false
|
2022-02-04 13:26:54 +00:00
|
|
|
dot:
|
|
|
|
|
description: 'Whether or not to auto-include paths starting with dot (e.g. `.github`)'
|
2023-10-31 13:09:20 +01:00
|
|
|
default: true
|
2022-02-04 13:26:54 +00:00
|
|
|
required: false
|
2023-07-06 16:10:50 +01:00
|
|
|
pr-number:
|
|
|
|
|
description: 'The pull request number(s)'
|
|
|
|
|
required: false
|
2020-09-08 13:09:16 -04:00
|
|
|
|
2023-06-29 03:45:24 -07:00
|
|
|
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'
|
2019-08-08 13:07:40 -04:00
|
|
|
runs:
|
2025-07-30 15:16:16 +01:00
|
|
|
using: 'node24'
|
2020-03-05 12:57:26 -05:00
|
|
|
main: 'dist/index.js'
|