Skip to content

Commit

Permalink
[INTERNAL] dependabot auto-merge: update trigger types and conditions
Browse files Browse the repository at this point in the history
JIRA: CPOUI5FOUNDATION-717
  • Loading branch information
matz3 committed Sep 8, 2023
1 parent 2b8d301 commit c7f7c26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Dependabot auto-merge
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- main

Expand All @@ -11,7 +12,10 @@ permissions:
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'github_actions') }}
if: |
github.event.pull_request.user.login == 'dependabot[bot]' &&
github.event.pull_request.auto_merge == null &&
contains(github.event.pull_request.labels.*.name, 'github_actions')
steps:
- name: Dependabot metadata
id: metadata
Expand Down

0 comments on commit c7f7c26

Please sign in to comment.