Skip to content

Conversation

pillo79
Copy link

@pillo79 pillo79 commented Sep 9, 2025

No description provided.

@pillo79 pillo79 force-pushed the pr-fix-format-check-ui-fail branch 9 times, most recently from 4380a62 to 5410550 Compare September 9, 2025 15:49
@pillo79 pillo79 force-pushed the pr-fix-format-check-ui-fail branch from 962e945 to 931d59b Compare September 10, 2025 09:40
The Github UI for required checks does not integrate with the workflows
described in the .github directory. Currently jobs that are never
started due to conditional execution are not even reported, so the UI
shows "expected" and locks up merges.

Rework the format-check workflow to first list the modified files that
need to be checked, and then run the check only on those files. This
way the test runs on every pull request, but has minimal impact unless
one or more source files are actually modified.

Requires a branched version of jidicula/clang-format-action 4.15.0 that
adds the 'check-files-from' input parameter.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Do not set a name for the verify-core job, as this causes the GitHub UI
to show a generic name in the required status checks list.
@pillo79 pillo79 force-pushed the pr-fix-format-check-ui-fail branch 2 times, most recently from 1f1b2bc to 7d517b9 Compare September 10, 2025 11:59
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.

1 participant