Skip to content

.github/workflows: rebase before running static test#22255

Merged
maribu merged 1 commit into
RIOT-OS:masterfrom
crasbe:pr/rebase_for_static_test_workflow
May 8, 2026
Merged

.github/workflows: rebase before running static test#22255
maribu merged 1 commit into
RIOT-OS:masterfrom
crasbe:pr/rebase_for_static_test_workflow

Conversation

@crasbe
Copy link
Copy Markdown
Contributor

@crasbe crasbe commented May 7, 2026

Contribution description

The static-test workflow has a tendency to fail when the PR is not up to date with the master branch anymore, for example for the buildsystem_sanity_check when the Docker image was updated, doccheck when documentation has been fixed elsewhere or codespell when typos have been fixed elsewhere.

This forces contributors to rebase their PR, which sometimes leads to issues (especially for people who are not super experienced with git yet).

Also it is annoying and somewhat unnecessary because Murdock rebases the PR before running the static tests again anyways.

Testing procedure

I guess we should see that this PR does not fail the static-tests workflow.
I deliberately dropped the last Riotdocker bump commit from the history of this branch, so the buildsystem_sanity_check should fail without the changes. Let's see how this goes :D

Issues/PRs references

As discussed in #22250.

Declaration of AI-Tools / LLMs usage:

AI-Tools / LLMs that were used are:

  • ChatGPT for explaining what all the git commands do 😅

@crasbe crasbe requested a review from maribu May 7, 2026 19:43
@crasbe crasbe added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs labels May 7, 2026
@github-actions github-actions Bot added the Area: CI Area: Continuous Integration of RIOT components label May 7, 2026
@crasbe crasbe force-pushed the pr/rebase_for_static_test_workflow branch from e3da00c to 71b65fe Compare May 7, 2026 20:04
@crasbe
Copy link
Copy Markdown
Contributor Author

crasbe commented May 7, 2026

Okay, I'm happy now. The commits in the first line after the run are for beautyreasons, because the summary shows the first line of the command. That way the debug output makes inherent sense:

image

@riot-ci
Copy link
Copy Markdown

riot-ci commented May 7, 2026

Murdock results

✔️ PASSED

71b65fe .github/workflows: rebase before running static test

Success Failures Total Runtime
1 0 1 01m:24s

Artifacts

@maribu maribu enabled auto-merge May 8, 2026 04:17
@maribu maribu added this pull request to the merge queue May 8, 2026
Merged via the queue into RIOT-OS:master with commit 3a4dc6b May 8, 2026
26 checks passed
@crasbe crasbe deleted the pr/rebase_for_static_test_workflow branch May 8, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: CI Area: Continuous Integration of RIOT components CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants