Repository navigation
Rename the CI workflow from main to ci - #23
Merged
Merged
Conversation
The badge shows the workflow's name, so it read "main - passing", which looks like a branch. "ci - passing" says what passed, as in gfw-common. The badge still reports the default branch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The README badge shows the workflow's
name:, so it read "main – passing", which looks like a branch name. Renamed the workflow toci(.github/workflows/ci.yaml) so the badge reads "ci – passing", as in gfw-common. Repos created from the template get the same badge.The badge still reports the default branch (GitHub's default for workflow badges), so its meaning doesn't change.
Changes
.github/workflows/main.yaml→ci.yaml,name: main→name: ci. Jobs unchanged.ci.yaml.Notes
protect mainruleset requires checks by job name (flake8,tests - Python 3.12 on Docker,tests - Python 3.13 on ubuntu-latest), not by workflow name, so it's unaffected.main.yamluntil they adopt this.🤖 Generated with Claude Code