Skip to content
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

ci(workflow): Update Zephyr-HAL workflow #1331

Merged
merged 2 commits into from
Jan 31, 2025
Merged

Conversation

hfakkiz
Copy link
Contributor

@hfakkiz hfakkiz commented Jan 23, 2025

Description

Current workflow sends some commits which has only "msdk_sha" file change. To avoid these commits, I implemented a solution which protects "msdk_sha" file from remove operation.

Also, I updated workflow to send commits to "hal_adi" with same description and author information as MSDK commits.

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

This script removes 'msdk_sha' file from 'hal_adi' repository. This
causes creating a commit to 'hal_adi' for not related PRs. Solved this
problem with this commit.

Signed-off-by: Furkan Akkiz <[email protected]>
With this change, hal_adi commits will have same description and author
information with MSDK commits. Also it does not try to send a commit if
there was no change.

Signed-off-by: Furkan Akkiz <[email protected]>
@github-actions github-actions bot added the Workflow Related to Workflow development label Jan 23, 2025
@ttmut
Copy link
Contributor

ttmut commented Jan 29, 2025

Can you not add msdk_sha to hal_adi .gitignore instead?

@ttmut ttmut self-requested a review January 29, 2025 14:23
@hfakkiz
Copy link
Contributor Author

hfakkiz commented Jan 30, 2025

Can you not add msdk_sha to hal_adi .gitignore instead?

If we add "msdk_sha" file to hal_adi ".gitignore", we cannot add new MSDK commits' sha into this file. So, I think this way is fine.

@ttmut
Copy link
Contributor

ttmut commented Jan 31, 2025

@MaureenHelm can you take a look?

@ttmut ttmut merged commit bacab6b into main Jan 31, 2025
13 checks passed
@ttmut ttmut deleted the fix-zephyr-hal-workflow branch January 31, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Workflow Related to Workflow development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants