Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/dbt-labs/actions-1…
Browse files Browse the repository at this point in the history
….1.1
  • Loading branch information
McKnight-42 authored May 28, 2024
2 parents f6b7065 + 96dd860 commit 1f59de2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/changelog-entry-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Changelog entry check

on:
pull_request:
types:
- opened
- reopened
- labeled
- unlabeled
- synchronize

defaults:
run:
shell: bash

permissions:
contents: read
pull-requests: write

jobs:
changelog-entry-check:
uses: dbt-labs/actions/.github/workflows/changelog-existence.yml@main
with:
changelog_comment: >-
Thank you for your pull request! We could not find a changelog entry for this change.
For details on how to document a change, see the
[dbt-postgres contributing guide](https://github.com/dbt-labs/dbt-postgres/blob/main/CONTRIBUTING.md).
skip_label: "Skip Changelog"
secrets: inherit
6 changes: 4 additions & 2 deletions .github/workflows/release_prep_hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
then
is_current=true
fi
echo "is-current=$is_updated" >> $GITHUB_OUTPUT
echo "is-current=$is_current" >> $GITHUB_OUTPUT
- name: "[INFO] Skip version bump"
if: steps.version.outputs.is-current == 'true'
Expand Down Expand Up @@ -202,9 +202,11 @@ jobs:
core-team:
if: needs.release-inputs.outputs.changelog-exists == 'false'
needs: release-inputs
uses: dbt-labs/actions/.github/workflows/determine-team-membership.yml@main
with:
github_team: "core-group"
secrets: inherit

generate-changelog:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -445,7 +447,7 @@ jobs:
# If a release branch was created and not merged, use the release branch
# Otherwise, use the input branch because either nothing was done, or the changes were merged back in
run: |
if [ ${{ needs.release-branch.result == 'success' }} && ${{ needs.merge-release-branch.result == 'skipped' }} ]; then
if [[ ${{ needs.release-branch.result == 'success' }} && ${{ needs.merge-release-branch.result == 'skipped' }} ]]; then
branch="${{ needs.release-branch.outputs.name }}"
else
branch="${{ inputs.branch }}"
Expand Down

0 comments on commit 1f59de2

Please sign in to comment.