Skip to content

Commit

Permalink
ci: search for dependabot[bot] in commit message rather than email (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kpodsiad committed Jan 21, 2022
1 parent be2a8dc commit e5e09b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
if: |
github.event.author.email != 'bot@scalameta.org' &&
!contains(github.event.head_commit.message, 'scalameta/dependabot/') &&
!contains(github.event.author.email, 'dependabot[bot]@users.noreply.github.com') &&
!contains(github.event.head_commit.message, '[skip pre]')
!contains(github.event.head_commit.message, 'dependabot[bot]') &&
!contains(github.event.head_commit.message, '[skip pre]') &&
!contains(github.event.head_commit.message, '[skip-pre]')
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
Expand Down

0 comments on commit e5e09b4

Please sign in to comment.