ci: fix scheduled-updates workflow by explicitly adding paths#4405
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4405 +/- ##
=====================================
Coverage 8.36% 8.36%
=====================================
Files 418 418
Lines 14318 14318
Branches 2078 2078
=====================================
Hits 1197 1197
Misses 12890 12890
Partials 231 231 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the scheduled updates GitHub Actions workflow to improve file handling and ensure that relevant files are included in pull requests created by the automation. The main changes are grouped into workflow reliability improvements and pull request content enhancements.
Workflow reliability improvements:
sudo chown -R $USER:$USER .before setting up the JDK, which helps prevent permission issues during the workflow execution.Pull request content enhancements:
peter-evans/create-pull-requeststep to explicitly include additional asset, metadata, and documentation files in the pull requests it creates by specifying them in theadd-pathsfield. This ensures that important files likefirmware_releases.json,device_hardware.json, Android metadata, allstrings.xml, andREADME.mdfiles are always included in the automated PRs.