Skip to content

Commit c47a885

Browse files
authored
Only run docs CI when docs changed (#5556)
## Description This makes it so the Docs CI checks only happen when a PR includes changes to files under `docs/` ## Checklist - [ ] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [ ] I have requested a review from the relevant team or maintainers.
1 parent 56b42cb commit c47a885

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/docs.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: Docs
22

33
on:
4-
push:
5-
branches:
6-
- master
74
pull_request:
8-
release:
9-
types: [published]
5+
paths:
6+
- docs/**
107

118
jobs:
129
test:

0 commit comments

Comments
 (0)