Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Check Artifact Changes
Action (#9635)
* Remove extraneous `/` in `schema-check.yml` We have hypothesis that the extra `/` in `schema-check` is causing issues we're seeing currently in the artifact check failing. It may not be the final solution, but we should fix it anyway. * Move `artifact_minor_upgrade` label check to job level of `Check Artifact Changes` Previously the checking for `artifact_minor_upgrade` was happening in each job step of `Check Artifact Changes`. By moving it up to the job level instead of in the job steps we make it so the check for the label only happens once and it simplifies the job steps. * Update `Check Artifact Changes` to use `dorny/paths-filter` Previously we were using `git diff` to check if any files had changed in `core/dbt/artifacts`. However, our `git diff` usage was including any changes that happened on `main` which the PR branch did not have. This commit switches the check from using `git diff` to `dorny/paths-filter`, which is what we use for checking for changelog existence as well. The `dorny/paths-fitler` includes logic for excluding changes that are on main but not the PR branch (which is what want to happen).
- Loading branch information