Skip to content

Commit

Permalink
Update mergebot condition to exclude dependabot commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Dec 5, 2024
1 parent 98d04e4 commit 1aba839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
commit_author: StudioCMS <[email protected]>

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 }}

0 comments on commit 1aba839

Please sign in to comment.