-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
37 lines (32 loc) · 1.51 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
37
name: "Get project ID from number"
author: "Christian Toney"
description: "Get a project ID from its number. You can use a personal access token (PAT) or GitHub app."
inputs:
# Project metadata
github-project-number:
description: "The number of the project that you want to find the ID of."
required: true
# Repository overrides
github-repository-name:
description: "The name of the project's repository. If not provided, the workflow will default to its own repository."
required: false
github-repository-owner:
description: "The owner of the project's repository. If not provided, the workflow will default to its own repository owner."
required: false
# Authentication inputs for GitHub app
github-app-id:
description: "The ID of your GitHub app. Required if a personal access token is not provided."
required: false
github-app-private-key:
description: "A private key of your GitHub app. Required if a personal access token is not provided."
required: false
github-app-installation-id:
description: "The installation ID of the GitHub app. You can get this from checking the URL after hitting configure at https://github.com/{USER or ORGANIZATION}/{REPOSITORY}/settings/installations."
required: false
# Authentication inputs for personal access token
github-personal-access-token:
description: "The access token of the GitHub account. Required if GitHub app authentication inputs are not provided."
required: false
runs:
using: "node20"
main: "dist/index.js"