mirror of
https://github.com/actions/labeler.git
synced 2025-12-10 19:50:54 +00:00
Node 12 has an end of life on April 30, 2022. This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12. This is supported on all Actions Runners v2.285.0 or later.
19 lines
514 B
YAML
19 lines
514 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 secret'
|
|
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
|
|
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|