frequency icon indicating copy to clipboard operation
frequency copied to clipboard

Protect release version tags

Open demisx opened this issue 2 years ago • 4 comments
trafficstars

GitHub tag protection rules are in beta right now. We can leverage this to lock in the release version tag once it’s been published on GitHub: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules

Per @wilwade, the following people should have ability to override the protected tag:

@demisx @wilwade @sbendar @p5150j @aramikm @shannonwells @enddynayn @saraswatpuneet @JoeCap08055

demisx avatar Apr 04 '23 15:04 demisx

I've reviewed current settings, and if we leave everything as-is, then everyone in the "UnfinishedLabs" can create a protected release version tag, but only these people from the list above would be able to delete them:

@wilwade @demisx @sbendar

Under GitHub free open source project plan, only admins can delete protected tags. Custom roles are supported in GitHub Enterprise tier. Per @wilwade, keeping the status quo.

demisx avatar Apr 04 '23 16:04 demisx

The version tags v* have been protected: https://github.com/LibertyDSNP/frequency/settings/tag_protection. Closing.

demisx avatar Apr 04 '23 16:04 demisx

The CI needs to be allowed to push tags. Currently it fails with tag protection on.

Failed run: https://github.com/LibertyDSNP/frequency/actions/runs/4611726096/jobs/8152699255

demisx avatar Apr 04 '23 20:04 demisx

Added v0.0.1* rule to https://github.com/LibertyDSNP/frequency/settings/tag_protection, so I can safely test release workflow without affecting others.

demisx avatar Apr 06 '23 16:04 demisx