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

feat(IDX): add internal-external workflow #99

Merged
merged 20 commits into from
Jan 23, 2025
Merged

feat(IDX): add internal-external workflow #99

merged 20 commits into from
Jan 23, 2025

Conversation

cgundy
Copy link
Member

@cgundy cgundy commented Jan 16, 2025

The purpose of adding this workflow is to enable separate branch protection rules within the same repo. The logic works as follows:

  • for internal contributors: keep default level 2 branch protection rules -> with every new push reviews are kept and only one additional review (not by the commit author) is required
  • for external contributors: implement level 3 branch protection rules via this workflow -> with every new commit all PR reviews are cleared and the PR must be re-approved by all code owners

See the diagram below for the workflow logic:
Pasted image 20250116132256

@cgundy cgundy marked this pull request as ready for review January 16, 2025 15:17
@cgundy cgundy requested a review from a team as a code owner January 16, 2025 15:17
basvandijk
basvandijk previously approved these changes Jan 16, 2025
@cgundy cgundy closed this Jan 20, 2025
@cgundy cgundy reopened this Jan 20, 2025
@cgundy cgundy dismissed basvandijk’s stale review January 20, 2025 12:50

Review dismissed by automation script.

nmattia
nmattia previously approved these changes Jan 20, 2025
Copy link
Contributor

@nmattia nmattia left a comment

Choose a reason for hiding this comment

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

fake approval for testing

@cla-idx-bot cla-idx-bot bot dismissed nmattia’s stale review January 20, 2025 13:35

Review dismissed by automation script.

marko-k0
marko-k0 previously approved these changes Jan 20, 2025
basvandijk
basvandijk previously approved these changes Jan 20, 2025
@github-actions github-actions bot dismissed marko-k0’s stale review January 21, 2025 10:27

Review dismissed by automation script.

nmattia
nmattia previously approved these changes Jan 21, 2025
Copy link
Contributor

@nmattia nmattia left a comment

Choose a reason for hiding this comment

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

fake approval

@github-actions github-actions bot dismissed stale reviews from basvandijk and nmattia January 21, 2025 16:05

Review dismissed by automation script.

@cgundy cgundy marked this pull request as draft January 23, 2025 07:15
@cgundy cgundy marked this pull request as draft January 23, 2025 07:15
@cgundy cgundy marked this pull request as draft January 23, 2025 07:15
@cgundy cgundy marked this pull request as draft January 23, 2025 07:15
@cgundy cgundy marked this pull request as ready for review January 23, 2025 07:26
@cgundy cgundy requested a review from jwndlng January 23, 2025 07:28
@cgundy cgundy merged commit 2424cc8 into main Jan 23, 2025
7 checks passed
@cgundy cgundy deleted the new-workflow branch January 23, 2025 09:26
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.

5 participants