Github Actions fail to run when branch name contains a `/`
See original GitHub issueApologies if this is not directly related to the runner - I was unsure if there was a more appropriate project for this issue.
Describe the bug
Github Actions stay in Expected — Waiting for status to be reported
state when a /
is included in the branch name.
To Reproduce Steps to reproduce the behavior:
- Create any kind of Github Action workflow
- Create a branch called
test/branch
touch test_file && git add test_file && git commit -m "Test Github Actions" && git push
- Observe the actions on the
Conversation
page and you will see something like:
Expected behavior The workflow jobs should run
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Only run job on specific branch with GitHub Actions
For getting a branch name, current solution is to check GITHUB_REF environment variable - see Default environment variables and this question ...
Read more >Running GitHub Actions only on Certain Pull Requests
GitHub Actions workflow definition allows you to filter runs based on a branch name. It is as easy as adding a branches condition...
Read more >Github Actions Error: Could not find a default branch to fall ...
I have 4 branches dev, qa, staging and master. Staging is currently used for the live site. Qa is the branch that has...
Read more >Learning GitHub Actions - Google Books Result
... runs Narrow your search actor : octocat branch : my - branch - name event ... Creating Status Badges for Workflows GitHub...
Read more >ASP.NET Core 5 for Beginners: Kick-start your ASP.NET web ...
Note The CD job has been created using basic Git commands. ... pages branch continue-on-error: true run: | git config --global user.name "GitHub...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@roobert This has to do with glob patterns. Try
instead.
*
is a wildcard that is bound by/
. Use**
for recursive globstar.@fhammerl - I have emailed you the workflow which exhibits this behaviour, thanks!