-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (30 loc) · 1.29 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
name: "exclude-sensitive-repos"
description: 'Exclude repos tagged with "sensitive" from an app installation'
author: "withgraphite"
inputs:
classic-pats:
description: |
An array of classic PAT with `repo` permissions. These tokens will be
used to manage the installed repositories on each of the app
installations and must have access to the owners in question. Tokens will
be round robined to minimize the chance of hitting rate limits.
required: true
owners:
description: |
An array of objects with the following properties:
- `login` (required): the GitHub login of the owner (e.g. 'withgraphite')
- `installId` (required): the ID of the app installation to manage
(e.g. 23731826)
- `fineGrainedPat` (required): a fine-grained PAT that must have access
to the owner and contain the 'Custom properties' organization scope to
consume the custom properties API endpoint
- `skip` (optional): if `true`, the owner will be skipped
required: true
sleep-between-reqs-ms:
description: |
The number of milliseconds to sleep between each GitHub API request. This
is useful for reducing the risk of bumping into Github's API rate limits.
required: false
runs:
using: node20
main: dist/index.js