Skip to content

Commit

Permalink
ci: PLT-348: Fix dependabot Auto Merge condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelonogov committed May 10, 2024
1 parent 38eaa2c commit 9a9a42c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cicd_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ jobs:
dependabot-auto-merge:
name: "Auto Merge dependabot PR"
if: |
always() &&
needs.check_gate.result == 'success' &&
github.event_name == 'pull_request' &&
github.event.pull_request.user.login == 'dependabot[bot]' &&
( startsWith(github.head_ref, 'dependabot/npm_and_yarn/') || startsWith(github.head_ref, 'dependabot/pip/') )
Expand Down

0 comments on commit 9a9a42c

Please sign in to comment.