From e46eae1f0ef952a2e4f062c63b45fbb75a8b48af Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Mon, 25 Mar 2024 18:28:54 -0500 Subject: [PATCH] fix team name (#9805) * fix team name * use correct trigger * trickle down permissions --- .github/workflows/community-label.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/community-label.yml b/.github/workflows/community-label.yml index adaf2b4a2ab..3b75a3c14e7 100644 --- a/.github/workflows/community-label.yml +++ b/.github/workflows/community-label.yml @@ -11,7 +11,8 @@ name: Label community PRs on: - pull_request: + # have to use pull_request_target since community PRs come from forks + pull_request_target: types: [opened, ready_for_review] defaults: @@ -20,6 +21,7 @@ defaults: permissions: pull-requests: write # labels PRs + contents: read # reads team membership jobs: open_issues: @@ -32,6 +34,6 @@ jobs: github.event.action == 'ready_for_review' ) uses: dbt-labs/actions/.github/workflows/label-community.yml@main with: - github_team: 'core' + github_team: 'core-group' label: 'community' secrets: inherit