Skip to content

Commit

Permalink
chore: docs changes now go through build workflow (#6773)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMcCulloh authored Jun 24, 2024
1 parent 1402fab commit 6b1f264
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ on:
- opened
- synchronize
paths-ignore:
- "docs/**"
- "logo/**"
push:
branches:
- main
- dev
workflow_dispatch: {}

concurrency:
Expand Down
7 changes: 1 addition & 6 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,8 @@ pull_request_rules:
- "#review-threads-unresolved=0"
- -approved-reviews-by~=author
- check-success=Validate PR title
- check-success=Quality Gate
- base=main
- or:
- check-success=Quality Gate
- and:
- -files~=^(?!docs/|logo/)
# These files must be generated via wingsdk build
- -files~=^docs/docs/04-standard-library/[^/]+/[^/]+\.md$

- name: requires manual merge
conditions:
Expand Down
2 changes: 1 addition & 1 deletion docs/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pipeline": {
"compile": {
"inputs": [
"./docs/**/*.md"
"docs/**/*.md"
],
"outputs": [
"../examples/tests/doc_examples/**/*.w"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6b1f264

Please sign in to comment.