Skip to content

Skip unrelated builds for documentation #1043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ on:
- "v*.*"
- "master"
- "feature/*"
paths-ignore:
- "docs/**"
Comment on lines +9 to +10
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to only skip builds if we're only changing documentation: there are too many variables that affect the "should this require a test run" to be feasible (e.g. changes in orchestration, tests, config files, sources, tests, etc.). Listing all the directories in paths doesn't seem sensible, and skipping builds for pull requests/commits that ONLY change documentation should be sufficient for the time being.

push:
branches:
- "v*.*"
- "master"
- "feature/*"
paths-ignore:
- "docs/**"

jobs:
phpcs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ on:
- "v*.*"
- "master"
- "feature/*"
paths:
- "docs/**"
push:
branches:
- "v*.*"
- "master"
- "feature/*"
paths:
- "docs/**"

jobs:
giza:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ on:
- "v*.*"
- "master"
- "feature/*"
paths-ignore:
- "docs/**"
push:
branches:
- "v*.*"
- "master"
- "feature/*"
paths-ignore:
- "docs/**"

jobs:
psalm:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ on:
- "v*.*"
- "master"
- "feature/*"
paths-ignore:
- "docs/**"
push:
branches:
- "v*.*"
- "master"
- "feature/*"
paths-ignore:
- "docs/**"

jobs:
phpunit:
Expand Down