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

Introduced GitHub Actions initial workflow #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

silabs-ThibautC
Copy link
Collaborator

It runs on the latest ubuntu, install gcc and runs ./build.sh It was generated using GitHub Copilot

It runs on the latest ubuntu, installl gcc and runs ./build.sh
It was generated using GitHub Copilot
@silabs-ThibautC silabs-ThibautC force-pushed the initial-gh-action-workflow branch from 63286c9 to 582998e Compare December 16, 2024 15:09
@paduffy
Copy link
Collaborator

paduffy commented Dec 16, 2024

To be sure I am understanding the Action. Whenever a push or pull is attempted, the linux build is executed. If the build fails, does the invoking push or pull fail? Thanks

@silabs-ThibautC
Copy link
Collaborator Author

silabs-ThibautC commented Dec 17, 2024

Whenever a push is attempted, github will trigger a job that will check the Linux build still works. It will not block the push. It could auto-reject a PR.

https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows

I'd recommend to enable Require status checks to pass before merging on main.
See https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants