惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
GbyAI
GbyAI
L
LINUX DO - 最新话题
A
Arctic Wolf
T
Tor Project blog
G
GRAHAM CLULEY
I
InfoQ
博客园_首页
IT之家
IT之家
The Register - Security
The Register - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
K
Kaspersky official blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
U
Unit 42
PCI Perspectives
PCI Perspectives
量子位
P
Palo Alto Networks Blog
S
Securelist
T
Troy Hunt's Blog
博客园 - 【当耐特】
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
Engineering at Meta
Engineering at Meta
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
罗磊的独立博客
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
NISL@THU
NISL@THU
C
Cisco Blogs
T
Threatpost
有赞技术团队
有赞技术团队
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
T
The Exploit Database - CXSecurity.com
Cloudbric
Cloudbric
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
C
Cyber Attacks, Cyber Crime and Cyber Security

Read the Docs

Ubuntu 26.04 LTS available
Automation rules: webhook filters and more flexible matching
Manuel Kaufmann · 2026-06-02 · via Read the Docs

Photo by Jon Tyson on Unsplash

Automation rules let project maintainers automate actions on new branches and tags pushed to their Git repository: activate a version, hide it, set it as default, delete it on branch deletion, and more. Today we are announcing several new features to automation rules that will make rules more flexible and unlock a long-requested capability: filtering builds based on the contents of a webhook event.

What's new

Match multiple version types in a single rule

Previously, a rule applied to either a tag or a branch. Now a rule can target any combination of tags, branches, and pull requests at the same time. This avoids duplicating the same rule with different version types just to cover all the cases.

Webhook filters

Rules can now look beyond the version name. When a push or pull request webhook is received, a rule can also match against:

  • Changed files — using fnmatch patterns (e.g. docs/*.rst, .readthedocs.yaml).
  • Commit message — using a Python regular expression (e.g. ^docs:).
  • Pull request labels — using a Python regular expression (e.g. ^(docs|build)$).

All the configured filters must match for the rule to fire.

New "Trigger build" action

Combined with webhook filters, the new Trigger build for version action lets you only build when something relevant changed. A few use cases this enables:

  • Skip builds for commits that don't touch the docs (e.g. only build when files under docs/ change).
  • Skip builds for commits whose message contains [skip ci].
  • Only build pull requests that carry a documentation label.

When a project has at least one enabled "Trigger build" rule, builds are gated by those rules: if no rule matches the incoming webhook event, the build is skipped.

Enable/disable a rule without deleting it

Each rule now has an Enabled toggle, so you can temporarily turn a rule off without losing its configuration.

Where it works

Webhook filters rely on the data sent by your Git provider. For now, they are supported on projects connected through our GitHub App integration. Version-only rules (the existing "Activate version", "Hide version", etc.) keep working on every provider as before.

Migration

If you already have automation rules configured, there is nothing you need to do. All your existing rules have been migrated to the new model and continue to work the same way. You will simply find new fields available the next time you edit them.

Try it out

Head over to your project's Settings → Automation rules page to take it for a spin, and check our documentation on automation rules for the full reference and more examples.

As always, let us know what you think or open an issue if you hit any rough edges.