readthedocs.org
Filter builds based on GHA webhook path filtering rules
#12697
Merged

Filter builds based on GHA webhook path filtering rules #12697

humitos merged 55 commits into main from humitos/gha-webhook-path-filtering
humitos
humitos Filter builds based on GHA webhook path filtering rules
62e7862e
ericholscher
humitos Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…
19cfe3df
humitos Untangle automation rules from `Version` model
bc15ba80
humitos Create forms, views and URLs for the new model
eca91815
humitos Use the polymorphic model to avoid collisions in ordering
4584dcd7
humitos
humitos
humitos Delete files created by AI
443fa5ab
humitos Log a message when the build is not triggered due a to path filtering
56b79dfe
ericholscher
ericholscher commented on 2026-02-03
stsewd
stsewd commented on 2026-02-04
ericholscher
humitos Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…
20bbcd11
humitos Use fnmatch
ddfeb52c
humitos Execute the push automation rules inside the pull request events
75748900
humitos Add option to run the action on external versions
079e5637
humitos Match version type
e353f83c
humitos
humitos
humitos Update help text
07786f4c
humitos Remove non-required code
3a0d177c
humitos Trigger build for the version only if it's active
bd9ca78d
humitos
humitos
humitos
stsewd
stsewd
humitos Consider only the head/latest commit for files change
d7bd1579
read-the-docs-community
humitos Rename PushAutomationRule to WebhookAutomationRule
de07f5fe
humitos Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…
220619db
humitos
humitos humitos marked this pull request as ready for review 211 days ago
humitos humitos requested a review 211 days ago
humitos humitos requested a review from ericholscher ericholscher 211 days ago
humitos humitos requested a review from agjohnson agjohnson 211 days ago
auto-assign auto-assign assigned humitos humitos 211 days ago
humitos humitos requested a review from stsewd stsewd 211 days ago
humitos
copilot-swe-agent
humitos Update tests
6cb4952f
humitos Missing replacement
f0d25887
stsewd
stsewd commented on 2026-02-12
humitos Rename
700e44fa
humitos Get the head commit directly instead of PR and commits list
c4c28a37
read-the-docs-community
humitos Keep filtering version rules by actions
3d8ddab3
humitos
Copilot Add comprehensive tests for WebhookAutomationRule path filtering (#12…
61383313
humitos
humitos commented on 2026-02-12
humitos Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…
c6ca92f2
humitos
humitos
humitos Revert this change that breaks tests
fac3fb8e
humitos Update tests
c60a492f
humitos Always check for all the commits in the push/pull_request event
407ced3a
humitos Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…
ae06fbf2
humitos Lint
67bc1324
humitos Rename migration
33119d30
humitos
humitos humitos requested a review from stsewd stsewd 205 days ago
stsewd
stsewd commented on 2026-02-16
agjohnson
agjohnson commented on 2026-02-17
humitos Apply suggestions from code review
ab05a9e3
humitos Update help text
0b2ee42a
humitos Refactor `trigger_build` and remove `build_external_version`
1c6208ff
humitos Filter rules by action
73b41755
humitos humitos requested a review from stsewd stsewd 204 days ago
humitos humitos requested a review from agjohnson agjohnson 204 days ago
humitos
stsewd
stsewd commented on 2026-02-17
humitos Update queries and code from feedback received
075488e8
humitos Typo
1302bda5
humitos Update how we check the files changed in a pull request
fe6f5fda
humitos humitos requested a review from stsewd stsewd 203 days ago
humitos Lint
e48f57ce
humitos Refactor `trigger_build` to be called from webhooks
2b97b6d6
humitos Differentiate when we call trigger_build from a webhook or not
1464f8f9
humitos Update tests
6bc1a0ff
humitos More updates on tests
b4b8cbff
humitos Update tests and mocks
3cc73379
humitos Fix error when version is None
8574fbbf
humitos
stsewd
stsewd commented on 2026-02-18
humitos Remove timeout
aed3a424
humitos Update tests and code based on feedback
83d856b7
humitos humitos requested a review from stsewd stsewd 203 days ago
stsewd
stsewd approved these changes on 2026-02-18
stsewd
stsewd commented on 2026-02-18
stsewd stsewd requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 203 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-02-18
humitos Move break statement to allow trigger build on multiple versions
2cd8f792
humitos Small updates from review
56cd4adc
humitos
humitos Update tests to pass
250c889f
humitos Skip positioning manager check for WebhookAutomationRule for now
0a7ead02
humitos humitos enabled auto-merge (squash) 202 days ago
humitos
humitos Use lazy to request the repository
a21bd6b3
humitos Check GH API for files only once for all the rules
9bbf049f
humitos We need a different argument name to make the test pass
576721c9
humitos Add missing mock
8adc2226
humitos humitos merged e704ea22 into main 202 days ago
humitos humitos deleted the humitos/gha-webhook-path-filtering branch 202 days ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone