-
Notifications
You must be signed in to change notification settings - Fork 62.4k
Closed
Closed
Copy link
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
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's 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
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