Skip to content

Commit

Permalink
ci(auto-merge): update conditional exprs
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <me@dw1.io>
  • Loading branch information
dwisiswant0 committed Mar 21, 2024
1 parent 8473e34 commit 9ea92e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,17 @@ jobs:
- name: Is patch update?
id: patch-update
if: >
success() && contains(
steps.is-dependabot.outcome == 'success' && contains(
github.event.head_commit.message, 'version-update:semver-patch'
)
run: true

- name: Auto merge PR
if: success() || steps.is-ready.outcome == 'success'
if: >
(
steps.is-ready.outcome == 'success' ||
steps.is-dependabot.outcome == 'success'
)
uses: pascalgn/automerge-action@v0.16.2
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 9ea92e1

Please # to comment.