Skip to content

Add branch-name-check before writing status.json #64

Description

@HereThereBeDragons

Right now, the creation of status.json is only based on the repo and release_type.

It would be good to also add a check for the branch name (head_branch) to make sure that not nightly/prerelease is accidentally triggered from a user branch.

could be simple like "main" or startsWith("release/therock-") or could be more sophisticated to make sure that prereleases must be from release branches and nightly only from main.

function where the changes need to occure:
scripts/receive_therock/therock_update_status_json.py:update_status_json()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions