Skip to content

Commit

Permalink
fix core team workflow ref
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Apr 16, 2024
1 parent 5af9942 commit 94b8d3c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release_prep_hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,21 @@ jobs:
message="Create release branch: ${{ steps.release-branch.outputs.name }}"
echo "::notice title=${{ env.NOTIFICATION_PREFIX }}: $title::$message"
core-team:
name: "Set Core team membership"
if: needs.release-inputs.outputs.changelog-exists == 'false'
uses: dbt-labs/actions/.github/workflows/determine-team-membership.yml@main
with:
github_team: "core-group"

generate-changelog:
runs-on: ubuntu-latest
if: needs.release-inputs.outputs.changelog-exists == 'false'
# only runs if we need to make changes, determined by not skipping release-branch
needs:
- release-inputs
- release-branch
- core-team

steps:
- name: "Checkout ${{ github.repository }}@${{ needs.release-branch.outputs.name }}"
Expand All @@ -219,12 +227,6 @@ jobs:
brew tap miniscruff/changie https://github.com/miniscruff/changie
brew install changie
- name: "Set Core team membership"
id: core-team
uses: dbt-labs/actions/.github/workflows/determine-team-membership.yml@main
with:
github_team: "core-group"

- name: "Generate changelog at ${{ needs.release-inputs.outputs.changelog-path }}"
run: |
if [[ ${{ needs.release-inputs.outputs.is-pre-release }} -eq 1 ]]
Expand All @@ -242,7 +244,7 @@ jobs:
fi
changie merge
env:
CHANGIE_CORE_TEAM: ${{ steps.core-team.outputs.team_membership }}
CHANGIE_CORE_TEAM: ${{ needs.core-team.outputs.team_membership }}

- name: "Remove trailing whitespace and missing new lines"
# this step will fail on whitespace errors but also correct them
Expand Down

0 comments on commit 94b8d3c

Please sign in to comment.