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