Skip to content

Commit

Permalink
Merge branch 'main' into fix_9608
Browse files Browse the repository at this point in the history
  • Loading branch information
aranke authored Mar 22, 2024
2 parents 22cd07e + b435e26 commit d8e6cc3
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/community-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# **what?**
# Label a PR with a `community` label when a PR is opened by a user outside core/adapters

# **why?**
# To streamline triage and ensure that community contributions are recognized and prioritized

# **when?**
# When a PR is opened, not in draft or moved from draft to ready for review


name: Label community PRs

on:
pull_request:
types: [opened, ready_for_review]

defaults:
run:
shell: bash

permissions:
pull-requests: write # labels PRs

jobs:
open_issues:
# If this PR already has the community label, no need to relabel it
# If this PR is opened and not draft, determine if it needs to be labeled
# if the PR is converted out of draft, determine if it needs to be labeled
if: |
(!contains(github.event.pull_request.labels.*.name, 'community') &&
(github.event.action == 'opened' && github.event.pull_request.draft == false ) ||
github.event.action == 'ready_for_review' )
uses: dbt-labs/actions/.github/workflows/label-community.yml@main
with:
github_team: 'core'
label: 'community'
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: always()
with:
name: logs_${{ matrix.python-version }}_${{ matrix.os }}_${{ steps.date.outputs.date }}
name: logs_${{ matrix.python-version }}_${{ matrix.os }}_${{ matrix.split-group }}_${{ steps.date.outputs.date }}
path: ./logs

- name: Upload Integration Test Coverage to Codecov
Expand Down

0 comments on commit d8e6cc3

Please sign in to comment.