Skip to content

Commit 128b222

Browse files
committed
🤖 ci: document fetch-depth for paths-filter
Add an inline comment explaining why the changes job uses fetch-depth: 0, so dorny/paths-filter can diff push events using github.event.before without requiring a follow-up fetch. --- _Generated with [`mux`](https://github.com/coder/mux) • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `$0.20`_ <!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh costs=0.20 -->
1 parent 3c191c5 commit 128b222

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- name: Checkout
2727
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2828
with:
29+
# Required so paths-filter can diff push events using github.event.before without fetching.
30+
fetch-depth: 0
2931
persist-credentials: false
3032

3133
- name: Set merge-group defaults

0 commit comments

Comments
 (0)