breadcord/Update project

Updates an item's fields on a GitHub Projects (beta) board based on a workflow dispatch (or other) event's input.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jan 3, 2023
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: breadcord/update-project-action@adaeab2a02e1aefbf4f3813433e0c9e78feb627e # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
organizationThe organization that contains the project, defaults to the current repository ownerno${{ github.repository_owner }}
project_numberThe project number from the project's URLyes
operationOperation type (update or read)noupdate
content_idThe global ID of the issue or pull request within the projectyes
fieldThe field on the project to set the value ofyes
valueThe value to set the project field toyes
github_tokenA GitHub Token with access to both the source issue and the destination project (`repo` and `write:org` scopes)yes
namedescription
project_idThe global ID of the project
item_idThe global ID of the issue or pull request
item_titleThe title of the issue or pull request
field_idThe global ID of the field
field_read_valueThe value of the field before the update
field_updated_valueThe value of the field after the update
field_typeThe updated field's ProjectV2FieldType (text, single_select, number, date, or iteration)
option_idThe global ID of the selected option