-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for running "Deploy" GitHub workflow when GitHub pre-release/release is created #286
Comments
While setting up tag protection, I noticed some UI for using repository rules instead: Repository rules had their GA release in July 2023 and are more flexible than branch protection and tag protection. I set up two repository rules to protect the creation/update/deletion of tags: one rule for pre-release tags and one for release tags. Anyone with read access to the repository can view these rules to help determine why their action was blocked. Someone who is not on the rule's bypass list will see an error message when trying to do a protected action: Someone who is on the bypass list will be able to bypass the protection: |
Because repository rules show you what your target pattern matches, I noticed that the glob pattern we're using for release tags in For the release-tag repository rule, I used a simpler pattern that is more strict about the end of the value. I will create a new issue to update our trigger pattern in MST's pipeline and SBMTD's pipeline. |
I updated the deployment protection rules on our |
All tasks for this issue are done. We can close this ticket after we go over it in our dev workshop on Wednesday |
deploy.yml
to check for pre-release/release eventsdeploy.yml
to run appropriate checks (run tests, etc.) if pre-release/releaseThe text was updated successfully, but these errors were encountered: