Skip to content

Check that only rc merges into the default branch - #42

Merged
jwrosewell merged 1 commit into
rcfrom
feature/only-rc-into-main
Nov 3, 2026
Merged

jwrosewell merged 1 commit into
rcfrom
feature/only-rc-into-main

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

Adds the check that only rc merges into this repository's default branch. It calls common-ci's shared workflow (common-ci#294) on every pull request. A pull request into the default branch fails unless its head is this repository's rc, and any other pull request passes.

The check is "Only rc into main / check", the same in every 51Degrees public repository, so one organisation ruleset can require it on each default branch.

It uses the workflow from common-ci's main, so it cannot start until common-ci#294 has reached common-ci's main. Until then this pull request's own check fails to start, which is expected. Merge it into rc after that.

@jwrosewell
jwrosewell marked this pull request as ready for review November 3, 2026 18:43
@jwrosewell
jwrosewell merged commit d0ef489 into rc Nov 3, 2026
1 check passed
@jwrosewell
jwrosewell deleted the feature/only-rc-into-main branch November 3, 2026 18:43
@jwrosewell jwrosewell mentioned this pull request Nov 3, 2026
jwrosewell added a commit that referenced this pull request Nov 4, 2026
* Update copyrights in 51degrees-dotnet in place of the .NET repositories it replaces

The eight .NET repositories have moved into 51degrees-dotnet and are being
archived. The copyright list names the monorepo instead, and the README links
the device data classes at their new paths.

* chore: update copyrights in 51degrees-php instead of the old PHP repositories

The old repositories are read-only Packagist mirrors, so the updater's push there would be refused. The monorepo name carries the language, as the updater requires.

* Take the Node packages from 51degrees-node

* Take the Java packages from 51degrees-java (#38)

* Check that only rc merges into the default branch (#42)

* Update copyrights in 51degrees-python and 51degrees-nginx (#44)

The three Python repositories are archived and device-detection-nginx is now 51degrees-nginx, so the updater clones the repositories that replace them.

---------

Co-authored-by: James Rogers <jamesr@51degrees.com>
Co-authored-by: YaroslavVlasenko <yaroslavvlasenko@gmail.com>
Co-authored-by: Eugene Dorfman <justadreamer2007@gmail.com>
Co-authored-by: ben51degrees <ben@51degrees.com>
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