Skip to content

Mention that workflow needs to exist on default branch to use workflow_dispatch #31007

Closed
@jsoref

Description

@jsoref

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatch

What part(s) of the article would you like to see updated?

Add more text explaining requirements relating to presence on default branch

Additional information

https://github.com/orgs/community/discussions/25746#discussioncomment-8067852

Content design plan:

Add a sentence to the on.worklfow_dispatch section of Workflow Syntax for GitHub Actions that says something like:

This trigger only receives events when the workflow file is on the default branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issuewaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions