-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
36 lines (31 loc) · 1.26 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Label Sync
description: An action that allows you to sync labels from a repository or a config file
author: Federico Grandi <[email protected]>
runs:
using: node20
main: lib/index.js
inputs:
token:
description: GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT), needed to edit the labels in this repo
required: false
default: ${{ github.token }}
config-file:
description: The path(s) (and/or URL(s)) to the JSON or YAML file containing the label config (more info in the README)
required: false
source-repo:
description: The repo to copy labels from (if not using a config file), in the 'owner/repo' format
required: false
request-token:
description: The token to use in the 'Authorization' header (if 'config-file' is being used) or to access the repo (if a private 'source-repo' is being used)
required: false
delete-other-labels:
description: Whether to delete any other label (useful when setting up a new repo, dangerous when editing an existing one)
required: false
default: 'false'
dry-run:
description: Whether to only display the changes, without making them (useful if you're worried you're going to mess up)
required: false
default: 'false'
branding:
icon: tag
color: blue