-
Notifications
You must be signed in to change notification settings - Fork 2
RDKB-62979 RDKB-62980 : Update native build #25
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -19,9 +19,18 @@ jobs: | |||||||||
|
|
||||||||||
| - name: native build | ||||||||||
| run: | | ||||||||||
| chmod +x cov_docker_script/run_setup_dependencies.sh | ||||||||||
| ./cov_docker_script/run_setup_dependencies.sh | ||||||||||
| chmod +x cov_docker_script/run_native_build.sh | ||||||||||
| ./cov_docker_script/run_native_build.sh | ||||||||||
| # Trust the workspace | ||||||||||
| git config --global --add safe.directory '*' | ||||||||||
|
|
||||||||||
| # Pull the latest changes for the native build system | ||||||||||
| git submodule update --init --recursive --remote | ||||||||||
|
Comment on lines
+25
to
+26
|
||||||||||
| # Pull the latest changes for the native build system | |
| git submodule update --init --recursive --remote | |
| # Pull the latest changes for the native build system (use pinned submodule commits) | |
| git submodule update --init --recursive |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| [submodule "build_tools_workflows"] | ||
| path = build_tools_workflows | ||
| url = https://github.com/rdkcentral/build_tools_workflows | ||
| branch = develop |
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.
Setting
safe.directoryto'*'trusts every directory globally for Git operations on the runner, which is broader than necessary. Prefer trusting only the checked-out workspace path (e.g.,$GITHUB_WORKSPACE/$(pwd)) to reduce exposure while still addressing the ownership/safe-directory issue.