Skip to content

Lock the master branch during release builds #751

@daniel-beck

Description

@daniel-beck

Your checklist for this issue

🚨 Please review the guidelines for contributing to this repository.

  • Link to any upstream changes that might be required (for example Jenkins Core pull request)

Feature Request

GitHub rulesets allow defining flexible (and stacking) rules for branches: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets

We occasionally need to deal with PR merges happening during a (weekly) release build, so it seems it would be useful to lock the master branch for changes while the build is ongoing. This could even carve out an exception for the account pushing the release commits (needs to be a team, but easy enough to define), so it could "wrap" the release build rather than needing to "interleave" it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions