Closed
Description
Describe the bug
A on.workflow_run.workflows
value containing +
fails with Encountered an issue parsing workflow trigger(s) "c++" in a workflow
, even though such a workflow name is allowed.
To Reproduce
Steps to reproduce the behavior:
- Create the following workflow in
.github/workflows/workflow_run.yml
:
name: Workflow Run Issue
on:
workflow_run:
workflows: ['C++']
types:
- completed
jobs:
job:
name: job
runs-on: ubuntu-latest
steps:
- run: true
shell: bash
- Merge this to your default branch. Make sure you have another workflow that gets triggered on
push
event on your default branch before you push this workflow to the default branch. - You will see in the Actions tab an
Unknown event
of anUnknown workflow
:
- Click on that action run and you will see an annotation saying:
Encountered an issue parsing workflow trigger(s) "c++" in a workflow ".github/workflows/workflow_run.yml".
Expected behavior
The workflow_run
should work with workflow names that contain +
.
Runner Version and Platform
2.322.0
What's not working?
Encountered an issue parsing workflow trigger(s) "c++" in a workflow ".github/workflows/workflow_run.yml".