Skip to content

ci: skip tests on docs-only pull requests and cancel superseded runs - #116

Merged
everoddandeven merged 2 commits into
libmonero:mainfrom
everoddandeven:ci/skip-tests-on-docs-changes
Oct 29, 2026
Merged

everoddandeven merged 2 commits into
libmonero:mainfrom
everoddandeven:ci/skip-tests-on-docs-changes

Conversation

@everoddandeven

Copy link
Copy Markdown
Member

Add paths-ignore for README, LICENSE, .gitignore, donate.png and docs/ to the pull_request trigger only, since the release needs a successful run for every commit on main. Cancel the previous run when a pull request is pushed again; other events get their own concurrency group so they are never cancelled.

Add paths-ignore for README, LICENSE, .gitignore, donate.png and docs/ to
the pull_request trigger only, since the release needs a successful run for
every commit on main. Cancel the previous run when a pull request is pushed
again; other events get their own concurrency group so they are never
cancelled.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

The build workflows only ran after the merge, so an edit to them was first
tried on main. Run them on pull requests that change their own inputs:
build-windows.yml and build-macos.yml for their own file, build-deb.yml also
for debian/, docker/ and Dockerfile.linux. Like Tests they cancel a
superseded run, and a pull request never saves the ccache.

Tests no longer runs for pull requests that only touch workflows it does not
run (build-*.yml, codacy.yml, release.yml). Cap the Linux test job at 120
minutes, the longest run so far took 82.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@everoddandeven
everoddandeven force-pushed the ci/skip-tests-on-docs-changes branch from 59ce250 to cb2466d Compare October 29, 2026 03:19
@everoddandeven
everoddandeven merged commit bc002c9 into libmonero:main Oct 29, 2026
21 of 22 checks passed
@everoddandeven
everoddandeven deleted the ci/skip-tests-on-docs-changes branch October 29, 2026 04:58
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