Skip to content

Conversation

@spastorino
Copy link
Member


Ok(gh_id == GOAL_OWNER_GH_ID)
pub async fn check_project_goal_acl(gh: &GithubClient, gh_id: u64) -> anyhow::Result<bool> {
const GOALS_TEAM: &str = "goals";
Copy link
Member Author

Choose a reason for hiding this comment

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

To be honest, not 100% sure if this is the way we pass team names down to get_team

Copy link
Member Author

Choose a reason for hiding this comment

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

goals show up here https://team-api.infra.rust-lang.org/v1/teams.json with the right group of members, so it should be fine

Copy link
Contributor

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

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

LGTM r? @jackh726

@nikomatsakis
Copy link
Contributor

r? @jackh726

@jackh726 jackh726 merged commit 9efcc37 into rust-lang:master Feb 21, 2025
3 checks passed
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.

3 participants