Skip to content

Commit

Permalink
🔧 adjust workflow condition
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer committed Sep 28, 2024
1 parent 7867c4c commit cd4d88d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reusable-change-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ jobs:
filter: |
.github/workflows/cd.yml
- name: Set a flag for running the continuous deployment job
if: steps.changed-cd-files.outputs.added_modified_renamed != ''
if: >-
github.event_name == 'pull_request'
&& steps.changed-code-ql-files.outputs.added_modified_renamed != ''
id: cd-changes
run: >-
echo "run-cd=true" >> "${GITHUB_OUTPUT}"

0 comments on commit cd4d88d

Please sign in to comment.