Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Document workflow_run behaviour when workflow name contains special characters #12572

Copy link
Copy link
Closed
@starizard

Description

@starizard
Issue body actions

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_run

What changes are you suggesting?

[possible bug]
workflows triggered by workflow_run do not work if the workflow name contains characters like [ ]

for example:

name: "[foo] parent"
on:
  push:
    branches:
      - "main"
    paths:
      - cloud/**
.
.
.

this parent workflow should trigger the child workflow

name: "[bar] child"
on:
  workflow_run:
    workflows:
      - "[foo] parent"
    branches:
      - main
    types:
      - completed
.
.
.

but it doesn't trigger the child workflow,

removing [foo] from the workflow name makes it work

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamfix-internallyTriggers a workflow to copy the issue internally and close the current issueTriggers a workflow to copy the issue internally and close the current issuetriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the teamwaiting for reviewIssue/PR is waiting for a writer's 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.