Skip to content

ci: trigger workflows on main as well as master (prep for branch rename) - #36

Merged
crtahlin merged 1 commit into
ethersphere:mainfrom
crtahlin:ci/rename-master-to-main
Aug 3, 2026
Merged

ci: trigger workflows on main as well as master (prep for branch rename)#36
crtahlin merged 1 commit into
ethersphere:mainfrom
crtahlin:ci/rename-master-to-main

Conversation

@crtahlin

Copy link
Copy Markdown
Collaborator

Preparation for renaming the default branch mastermain (the last prerequisite before submitting awesome-swarm to the official sindresorhus/awesome listing — their checklist requires main).

What this does

Updates the push triggers in both workflows to fire on both master and main:

  • .github/workflows/awesome-lint.yml
  • .github/workflows/list-health.yml

Why

The rename is admin-only and happens in repo Settings, which does not edit workflow YAML. If the triggers stayed pinned to master, the push-to-default CI run would stop firing the moment the branch is renamed. Triggering on both names makes the change order-independent — CI stays green whether this merges before or after the rename, with zero gap.

Once the rename is done, a trivial follow-up can drop master from the list.

No behaviour change otherwise; pull_request, workflow_dispatch, and the weekly schedule triggers are untouched.

Prep for the default-branch rename master -> main (required for the
sindresorhus/awesome listing). Triggering on both branches keeps CI
gapless regardless of when the rename happens; the master entry can be
dropped once the rename is complete.
@crtahlin
crtahlin merged commit 0304950 into ethersphere:main Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants