Skip to content

Latest commit

 

History

History

get-workflow

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

project-actions/get-workflow

Release

Get a GitHub project workflow

Known Issues

Only enabled workflows are visible via the GitHub GraphQL API.

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
number The project workflow number to get. Yes
fail-if-workflow-not-found Should the action fail if the workflow is not found on the project No true

Outputs

Name Description
id The global ID of the workflow.
name Name of the workflow.
number Number of the workflow.
enabled The enabled state of the workflow.
project-id The global ID of the project.

License

MIT