Skip to content

Commit

Permalink
fix team name (#9805)
Browse files Browse the repository at this point in the history
* fix team name

* use correct trigger

* trickle down permissions
  • Loading branch information
emmyoop authored Mar 25, 2024
1 parent c071868 commit e46eae1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/community-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -20,6 +21,7 @@ defaults:

permissions:
pull-requests: write # labels PRs
contents: read # reads team membership

jobs:
open_issues:
Expand All @@ -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

0 comments on commit e46eae1

Please sign in to comment.