generated from dsanders11/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
31 lines (29 loc) · 1.02 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
name: Archive Project Item
description: Archive or unarchive a GitHub project item
author: David Sanders
inputs:
token:
description: A GitHub access token - either a classic PAT or a GitHub app installation token
required: true
owner:
description: The owner of the project - either an organization or a user
required: false
default: ${{ github.repository_owner }}
project-number:
description: The project number from the project's URL
required: true
item:
description: The item to archive - may be the global ID for the item, the content ID, or the content URL
required: false
default: ${{ github.event.pull_request.html_url || github.event.issue.html_url }}
archived:
description: Archived state of the item - set false to unarchive an archived item
required: false
default: true
fail-if-item-not-found:
description: Should the action fail if the item is not found on the project
required: false
default: true
runs:
using: node20
main: ../dist/archive-item.js