Skip to content

Commit aee5d96

Browse files
authored
ci: update CI workflow to include additional conditions
1 parent 119ad6a commit aee5d96

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ jobs:
6969

7070
discover:
7171
name: Discover Repositories
72+
needs: changes
7273
if: |
7374
github.event_name != 'pull_request' &&
74-
(github.event_name != 'workflow_dispatch' || inputs.run_docs)
75+
(github.event_name != 'workflow_dispatch' || inputs.run_docs) &&
76+
(needs.changes.outputs.markdown == 'true' || needs.changes.outputs.docs == 'true' || inputs.run_docs)
7577
runs-on: ubuntu-latest
7678
outputs:
7779
repos: ${{ steps.repos.outputs.repos }}

0 commit comments

Comments
 (0)