-
Notifications
You must be signed in to change notification settings - Fork 431
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
Change release job logic to handle more files #4631
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4631 +/- ##
==========================================
- Coverage 62.73% 62.71% -0.02%
==========================================
Files 192 192
Lines 15641 15641
==========================================
- Hits 9812 9810 -2
- Misses 5146 5148 +2
Partials 683 683 ☔ View full report in Codecov by Sentry. |
Signed-off-by: David Tesar <[email protected]>
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.
/lgtm
LGTM label has been added. Git tree hash: 1a3ea610b682d9164f123a82a5758794209143a5
|
/release-note-none |
Signed-off-by: David Tesar <[email protected]>
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.
/lgtm
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.
/lgtm
if [[ ${{ steps.changed-files.outputs.all_changed_files_count }} != 1 ]]; then | ||
echo "1 release notes file should be changed to create a release tag, found ${{ steps.changed-files.outputs.all_changed_files_count }}" | ||
if [[ ${{ steps.changed-markdown-files.outputs.all_changed_files_count }} != 1 ]]; then | ||
echo "1 release notes file should be changed to create a release tag, found ${{ steps.changed-markdown-files.outputs.all_changed_files_count }}" |
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.
After we get this PR merged, it looks like the changed-files action has a built-in way to feed the list of files into a matrix that can spawn one job per file which might be able to make cutting multiple patches pretty slick.
LGTM label has been added. Git tree hash: 1728f38faec64d42a5ccbe58936ef708d5f92a7f
|
/hold for squash or until I can find the magic label to do it for us. |
/label tide/merge-method-squash |
There was a merge conflict with the newer version of the action, so had to push another commit. |
/lgtm |
LGTM label has been added. Git tree hash: 812d0c5b695ca9c47630b8c1a25050f251515727
|
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.
/lgtm
/approve
LGTM label has been added. Git tree hash: 812d0c5b695ca9c47630b8c1a25050f251515727
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mboersma The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Change logic for only one file Signed-off-by: David Tesar <[email protected]> * Filter proper changed files Signed-off-by: David Tesar <[email protected]> * Fix logic Signed-off-by: David Tesar <[email protected]> --------- Signed-off-by: David Tesar <[email protected]>
What type of PR is this?
/kind feature
/kind cleanup
What this PR does / why we need it:
Makes it so there doesn't have to be two different sequential PRs to do a new release.