Skip to content

Commit 3f27f5c

Browse files
committed
ci(pipeline): enhance build condition to exclude Dependabot
- Adjusted the build condition to prevent Dependabot runs from triggering builds unless specified. - Ensured builds are only triggered for user-initiated events or specific forced builds, improving resource management.
1 parent 7266ce9 commit 3f27f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: evaluate - build_push
103103
id: evaluate_build_push
104104
env:
105-
RESULT: ${{ github.event_name != 'pull_request' && (steps.pathsFilter.outputs.src == 'true' || github.event.inputs.force_build == 'true') }}
105+
RESULT: ${{ github.actor != 'dependabot[bot]' && github.event_name != 'pull_request' && (steps.pathsFilter.outputs.src == 'true' || github.event.inputs.force_build == 'true') }}
106106
run: echo "result=$RESULT" >> $GITHUB_OUTPUT
107107

108108
- name: evaluate - build_configuration

0 commit comments

Comments
 (0)