Skip to content

Commit b6c8ffd

Browse files
committed
ci(pipeline): exclude Dependabot from build conditions
- Updates the build evaluation logic to prevent Dependabot's pushes from triggering unnecessary builds. - Ensures that builds only occur when the event is not a pull request and certain conditions are met.
1 parent 04cdc4e commit b6c8ffd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pipeline.yaml

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

9595
- name: evaluate - build_configuration

0 commit comments

Comments
 (0)