-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
44 lines (40 loc) · 1.9 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
38
39
40
41
42
43
44
name: "Get project item ID from issue"
author: "Christian Toney"
description: "Get a project item ID from an issue number or ID. You can use a personal access token (PAT) or GitHub app."
inputs:
# Project metadata
github-issue-number:
description: "The number of the issue that you want to find the item ID of. Defaults to the triggering issue."
required: false
github-issue-repository-name:
description: "The name of the issue's repository. Required if github-issue-number is provided."
required: false
github-issue-repository-owner:
description: "The username of the issue's repository owner. Required if github-issue-number is provided."
required: false
github-issue-id:
description: "The ID of the issue that you want to find the item ID of."
required: false
github-project-id:
description: "The ID of the project that links to the issue."
required: true
should-fail-if-issue-not-found:
description: "If true, the workflow will fail if the issue isn't found; otherwise, the output will be undefined."
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"