Skip to content

Commit

Permalink
Adjust when workflows are executed
Browse files Browse the repository at this point in the history
- Build docbook if documentation.yml worflow changed
- Don't run unit tests for docbook updates
  • Loading branch information
dregad committed Feb 8, 2025
1 parent f7b1f29 commit e826650
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ name: MantisBT Documentation
on:
push:
paths:
- .github/workflows/documentation.yml
- "docbook/*/en-US/**"
- "docbook/*/publican.cfg"
pull_request:
paths:
- .github/workflows/documentation.yml
- "docbook/*/en-US/**"
- "docbook/*/publican.cfg"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mantisbt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ on:
push:
branches-ignore:
- dependabot/** # Only build dependabot branches on PRs
paths-ignore:
- docbook/**
pull_request:
paths-ignore:
- docbook/**

concurrency:
group: ci-${{ github.ref }}
Expand Down

0 comments on commit e826650

Please sign in to comment.