Get a GitHub project workflow
Only enabled workflows are visible via the GitHub GraphQL API.
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 |
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. |
MIT