Skip to content

ci: require CI to pass before merging into main - #11

Merged
frinfo702 merged 1 commit into
mainfrom
ci-require-checks
Nov 26, 2026
Merged

frinfo702 merged 1 commit into
mainfrom
ci-require-checks

Conversation

@frinfo702

Copy link
Copy Markdown
Owner

main now has a ruleset that requires the test, test-linux, lint and goreleaser checks to pass before a PR can merge. It also blocks direct pushes to main.

The release workflow pushes Casks/rexdiff.rb straight to main. On a personal repo, GITHUB_TOKEN can't bypass a ruleset, so goreleaser now pushes the cask over SSH with a deploy key (secret CASK_DEPLOY_KEY). The ruleset lets that key through. The key and the secret are already set up.

ci.yml triggered on pushes to master, which doesn't exist. It now triggers on main.

Not tested yet: the deploy-key cask push. Watch the next release run. Until this PR merges, a release will fail at the cask push.

A ruleset on main now requires the test, test-linux, lint and goreleaser
checks. GITHUB_TOKEN cannot bypass a ruleset on a personal repo, so the
release workflow pushes the cask with a deploy key that the ruleset lets
through.

ci.yml also ran on pushes to master, which does not exist. It now runs
on pushes to main.
@frinfo702
frinfo702 merged commit eec09e4 into main Nov 26, 2026
4 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.

1 participant