Skip to content
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

Fixes "Coverage Trend Indicator" workflow for PRs with slash ('/') in name #443

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

jimkring
Copy link
Contributor

This PR fixes the "Coverage Trend Indicator" workflow example so that it will run successfully in with dependabot PR's and (more generally) any PR with a slash (/) in it's name.

Background: Artifacts (actions/upload-artifact) cannot have forward slashes ('/') in the name. As such, dependabot PRs will fail, as could other git branch naming systems like gitflow and others (that use slashes in the branch names).

The fix involves explicitly naming the artifacts by using strategy.matrix.include to specify the branch name to checkout and artifact name to upload.

…n the name

Artifacts cannot have forward slashes ('/') in the name, which causes dependabot tests to fail and could also impact gitflow and other systems that use slashes in the branch names.
Copy link
Owner

@davelosert davelosert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really great improvement, thank you very much for this! 😍

@davelosert davelosert merged commit 2ed2c62 into davelosert:main Nov 17, 2024
3 checks passed
@daves-release-app
Copy link

🎉 This PR is included in version 2.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants