mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 03:58:05 +00:00
* Added output * removed formatting changes * more formatting changes * Fix merge conflicts * Small test refactoring * tests are passing * Add a test * Add a small jest mock for addLabels. Not used. * Add tests for more cases * get rid of an unused jest mock * fix review points * rebuild + minor README fix * fix review points * update tests * fix formatting * add tests, fix bug * cleanup --------- Co-authored-by: Daniel Shteremberg <dshteremberg@labelbox.com> Co-authored-by: Daniel Shteremberg <Daniel@Daniel-Shterembergs-MacBook-Pro.local> Co-authored-by: Patrick Ellis <patrick.j.ellis@gmail.com> Co-authored-by: Andrey Lobanovich <andrei.lobanovich@akvelon.com>
30 lines
893 B
YAML
30 lines
893 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: false
|
|
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: 'node16'
|
|
main: 'dist/index.js'
|