From 1aba8398451b4d5641ebb8c94ae9f10756011dd0 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Wed, 4 Dec 2024 21:28:50 -0800 Subject: [PATCH] Update mergebot condition to exclude dependabot commits --- .github/workflows/ci-push-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-push-main.yml b/.github/workflows/ci-push-main.yml index 2071e6b..ea846c6 100644 --- a/.github/workflows/ci-push-main.yml +++ b/.github/workflows/ci-push-main.yml @@ -37,7 +37,7 @@ jobs: commit_author: StudioCMS mergebot: - if: ${{ github.repository_owner == 'withstudiocms' && github.event_name == 'push' && github.event.commits[0].message != '[ci] lint' }} + if: ${{ github.repository_owner == 'withstudiocms' && github.event_name == 'push' && github.event.commits[0].message != '[ci] lint' && github.event.commits[0].author.username != 'dependabot[bot]' }} uses: withstudiocms/automations/.github/workflows/mergebot.yml@main secrets: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_MERGEBOT }} \ No newline at end of file