-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rulesets proposals #4
Comments
agreed, and done via
agreed, and done via
agreed, and (maybe?) done via
agreed, and done via
agreed!
agreed, and done via
agreed! and confirming that this doesn't seem possible via rulesets or classic branch protection rules
agreed, and done via
agreed, and done via
agreed, and done via repo general settings! I always prefer automatically deleting the branch after merging PRs, so this is covered by that setting.
agreed, still need to implement. just to clarify, you're talking about doing a status check on RC PRs that point to a release branch?
|
agreed, still need to implement.
agree with option of triggering the release based on the PR merge. To clarify, do you envision this being done within the
|
Yes I think this can be done at the end of the build release workflow e.g. - name: Parse version
id: version
uses: ./.github/parse-version
- name: Tag Release
run: |
git config --global user.name 'awana-release-bot[bot]'
git config --global user.email '${{ vars.RELEASE_BOT_USER_ID }}+awana-release-bot[bot]@users.noreply.github.com'
git tag v${{ steps.version.outputs.releaseShort }}
git push origin v${{ steps.version.outputs.releaseShort }} |
Some thoughts about what rules we should activate to avoid human-error in the release process. I'll use the term "release branch" to refer to branches that match
release/*
and "RC branch" to refer to branches that matchrc/*
.I think we should also create release tags so that we know exactly what code is included in a release (because either the RC branch refs, which will point to the release commit, can be modified by pushing new commits, or we delete them). We should set up tag rules for these release tags so that they can only be created by the release bot, and they cannot be updated or removed by anyone including the release bot.
If we are going to be tagging the release commit, then I'm not sure whether it is best to trigger the release based on the PR merge, or trigger the tag based on the PR merge, then trigger the release based on the tag. I think maybe the former, since I think it will mean that the release build shows in the merged PR status?
The text was updated successfully, but these errors were encountered: