-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
30 lines (30 loc) · 875 Bytes
/
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
name: "Apply label to all PR deployed"
description: "Apply label to all PR deployed"
author: "David Alvarez"
branding:
icon: "package"
color: "green"
inputs:
github_token:
description: "The GitHub token (if not provided the environment variable GITHUB_TOKEN will be used instead)"
required: false
repo_name:
description: "Name of the repository"
required: true
repo_owner:
description: "Owner of the repository"
required: true
label_id:
description: "The label ID to apply"
required: true
excluding_label:
description: "The label name which exclude PR from the script"
required: false
permissions:
# cf https://stackoverflow.com/questions/70435286/resource-not-accessible-by-integration-on-github-post-repos-owner-repo-ac
contents: read
actions: read
checks: write
runs:
using: "node12"
main: "dist/index.js"