GHA: Check for category existence on the main component - #3136
Conversation
|
Duplicate profile check: Warning - duplicate profiles detected. |
|
Invitation URL: |
Test Results 73 files 540 suites 0s ⏱️ Results for commit 84e1a52. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 761f223 |
286769e to
9f3bc43
Compare
| # Creates file "~/files.csv", among others | ||
| - id: file_changes | ||
| name: Gather file changes | ||
| uses: trilom/file-changes-action@1.2.4 |
There was a problem hiding this comment.
looks like this isnt really being maintained anymore. Maybe replace with tj-actions/changed-files. IMO it would be even better to have the script use git to determine the changed files, which allows it to run locally easier.
There was a problem hiding this comment.
FYI this is the same thing used in duplicate-profile.yml. Not necessarily saying we shouldn't change it
There was a problem hiding this comment.
Updated. Scripts needed to be updated to alter their handling from the .csv reading to the environment variable pull. Re-tested with the new logic.
7f01d0d to
6b4d7dd
Compare
|
matter-switch_coverage.xml
Minimum allowed coverage is Generated by 🐒 cobertura-action against 84e1a52 |
|
|
||
| - name: Run python script | ||
| env: | ||
| ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} |
There was a problem hiding this comment.
Probably worth a check that this still detects duplicate profiles
There was a problem hiding this comment.
Looks like it is still working as it did before:
Duplicate profile check: Warning - duplicate profiles detected.
2-button-battery-copy.yml == 2-button-battery.yml
84e1a52 to
6b4d7dd
Compare
Description of Change
Ensure that a category exists on the main component. Follow up to missing category issue found recently.
Testing Completed
See the following issue when a missing category is applied:
Duplicate profile checking still functions: