Skip to content

Latest commit

 

History

History

archive-item

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

project-actions/archive-item

Release

Archive or unarchive a GitHub project item

Known Issues

Can not unarchive items due to a bug in the GitHub GraphQL API, see https://github.com/orgs/community/discussions/42727

Inputs

Name Description Required Default
token A GitHub access token - either a classic PAT or a GitHub app installation token. Yes
owner The owner of the project - either an organization or a user. If not provided, it defaults to the repository owner. No ${{ github.repository_owner }}
project-number The project number from the project's URL. Yes
item The item to archive - may be the global ID for the item, the content ID, or the content URL. No ${{ github.event.pull_request.html_url || github.event.issue.html_url }}
archived Archived state of the item - set false to unarchive an archived item No true
fail-if-item-not-found Should the action fail if the item is not found on the project No true

Outputs

This GitHub Action does not have any outputs

License

MIT