-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor gha to resuse across multiple actions #210
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be a composite action instead of a workflow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry just got to this, is there a reason composite action is better for this?
Based on what I saw: Resusable workflow has more detailed logging, and can have multiple jobs(which we don't need here).
https://dev.to/n3wt0n/github-composite-actions-vs-reusable-workflows-updated-2023-bl8
pull-requests: write | ||
|
||
jobs: | ||
changelog_existence: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All references to changelog should be updated to be "path" or something similar since this is now more generalized.
# changelog: | ||
# uses: dbt-labs/actions/.github/workflows/changelog-check.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 contributing guide](https://github.com/dbt-labs/dbt-core/blob/main/CONTRIBUTING.md#adding-changelog-entry).' | ||
# path: '.changes/unreleased/**.yaml' | ||
# secrets: inherit # this is only acceptable because we own the action we're calling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once this is an action this will need to be updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure I follow here
part of #dbt-core/10329
Description
Checklist