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

chore: setup declarative configuration for branch protection and release-please #3091

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

zhumin8
Copy link
Contributor

@zhumin8 zhumin8 commented Aug 8, 2024

fixes #3085

This change should migrate all required tests from "settings" tab to .github/sync-repo-settings.yaml. Also setting up release-please branches for lts.

Sync-repo-settings.yaml is updated referencing this guide, and settings in google-cloud-java here.

Release-please.yaml is updated referencing this and google-cloud-java settings here.

Questions to reviewers:

  • Is permission rules with "yoshi-" teams still accurate? Do we prefer java specific teams as admin/push?
  • This update will override configurations in “Settings” for protected branches, I do not have access to this tab. Can you please double check I am not missing anything AND/OR give me access to it?

@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Aug 8, 2024
@zhumin8 zhumin8 requested review from blakeli0 and lqiu96 August 8, 2024 20:58
@zhumin8 zhumin8 marked this pull request as ready for review August 9, 2024 13:40
Comment on lines 73 to 79
permissionRules:
- team: yoshi-admins
permission: admin
- team: yoshi-java-admins
permission: admin
- team: yoshi-java
permission: push
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@blakeli0, this section is mimicked from google-cloud-java setups. Is permission rules with "yoshi-" teams still accurate? Do we prefer java specific teams as admin/push?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good point. We should probably start using the Java team sync group, @suztomo WDYT?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, the yoshi- teams are outdated.

Copy link

sonarcloud bot commented Aug 28, 2024

Copy link

sonarcloud bot commented Aug 28, 2024

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setup repo required checks in .github/sync-repo-settings.yaml
4 participants