-
Notifications
You must be signed in to change notification settings - Fork 61.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document workflow_run
behaviour when workflow name contains special characters
#12572
Comments
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
@starizard |
are there any other special characters to avoid? Also, is the solution to just not use those special characters in your workflow names? |
Hi @starizard, thanks for reporting this. I'm not totally sure if this is a bug or not, so before we update the docs, I've asked the Actions engineering team to clarify. Stay tuned. |
Hi @starizard, I've checked with the engineering team, and I can confirm that this is a known bug. As a workaround until this issue is fixed, you can escape the square brackets in the on:
workflow_run:
workflows: \[foo\] parent I've tried a few other special characters, and they don't seem to be affected by this bug. We don't document bugs in our documentation, so I'll close this docs issue. For anyone else experiencing problems with this, please contact the [GitHub Support Community] or (https://github.community/) GitHub Support 🙂. |
apparently github actions does not like special character in workflow names when they are referenced - see github/docs#12572
…tly (#9466) * #9319: Add escape characters to ensure workflow name is parsed correctly according to github/docs#12572 * #9319: Add back all post-commit tests
It looks like the values of |
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:
this parent workflow should trigger the child workflow
but it doesn't trigger the child workflow,
removing
[foo]
from the workflow name makes it workAdditional information
No response
The text was updated successfully, but these errors were encountered: