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

Use deploy key to run version bump action #27

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

ll-nick
Copy link
Collaborator

@ll-nick ll-nick commented Nov 11, 2024

This allows to bypass branch protections, see
https://github.com/orgs/community/discussions/25305#discussioncomment-10728028 for reference.

I created a ruleset that essentially does the same thing as the branch protection we had in place earlier except that it allows certain entities to bypass these restrictions.

I therefore created a deploy key as described in the discussion I mentioned above and use that when checking out the repo before pushing the updated version.

@ll-nick ll-nick requested a review from orzechow November 11, 2024 15:04
@ll-nick ll-nick self-assigned this Nov 11, 2024
Copy link
Member

@orzechow orzechow left a comment

Choose a reason for hiding this comment

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

Great! That's a neat solution to enable both, brach protection and version bumps on the main branch 👌

@ll-nick ll-nick merged commit 966334f into main Nov 11, 2024
1 check passed
@ll-nick ll-nick deleted the fix_release_workflow branch November 11, 2024 15:16
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