Skip to content
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

Enable release workflow with branch protection #57

Merged
merged 14 commits into from
Jul 15, 2024
Merged

Conversation

MattiSG
Copy link
Member

@MattiSG MattiSG commented Jul 11, 2024

The release workflow implemented in #47 did not take into account the necessary adaptations for main being a protected branch.
This changeset also eliminates duplicate test runs, and stop requiring @OTA-Release-Bot from being admin.

I decided to leave some test-main mentions in branch triggers, in order to ease future testing. In this way, creating a test-main branch enables testing deployment workflows without editing them. I would understand if this is not welcome and can remove it.

with:
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
branch: main
acceptable_conclusions: 'success,skipped' # changelog checks are skipped when not in a PR towards main branch
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will become the default value in the next release, see CasperWA/push-protected#250.

CHANGELOG.md Show resolved Hide resolved
Copy link
Member

@clementbiron clementbiron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job 🚀

@MattiSG MattiSG merged commit 1a8640f into main Jul 15, 2024
2 checks passed
@MattiSG MattiSG deleted the changelog-action branch July 15, 2024 10:05
@MattiSG MattiSG mentioned this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants