Skip to content

Conversation

@crueter
Copy link
Contributor

@crueter crueter commented Dec 25, 2025

Previously, changes to externals were also tracked, resulting in
absolutely hilarious abominations like https://github.com/FEX-Emu/FEX/actions/runs/20498228017/job/58901276463?pr=5162

So rather than dealing with that weird action, just fetch the main
branch and run a diff --name-only with the PR's merge base with main.
This is how I've done several dozen diff-based scripts (license headers,
clang-format, etc) and it works perfectly, so let's just use this.
Should run quicker too but don't put any money on it.

I also went ahead and removed a bunch of unnecessary quotations cuz
wynaut.

Signed-off-by: crueter [email protected]

@crueter crueter force-pushed the fix-pr-format branch 2 times, most recently from fe9027a to bfba335 Compare December 25, 2025 21:00
@Sonicadvance1 Sonicadvance1 requested a review from pmatos December 25, 2025 21:10
@crueter
Copy link
Contributor Author

crueter commented Dec 27, 2025

did some final cleanups, should be good now

@crueter crueter changed the title [ci] fix pr-code-format CI: fix pr-code-format Jan 5, 2026
@neobrain
Copy link
Member

neobrain commented Jan 9, 2026

@pmatos Could you take a look at this?

@pmatos
Copy link
Collaborator

pmatos commented Jan 9, 2026

@pmatos Could you take a look at this?

Yep. Give me a couple of hours.

Previously, changes to externals were also tracked, resulting in
absolutely hilarious abominations like https://github.com/FEX-Emu/FEX/actions/runs/20498228017/job/58901276463?pr=5162

So rather than dealing with that weird action, just fetch the main
branch and run a `diff --name-only` with the PR's merge base with main.
This is how I've done several dozen diff-based scripts (license headers,
clang-format, etc) and it works perfectly, so let's just use this.
Should run quicker too but don't put any money on it.

I also went ahead and removed a bunch of unnecessary quotations cuz
wynaut.

Signed-off-by: crueter <[email protected]>
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.

3 participants