[go: nahoru, domu]

Skip to content

Commit

Permalink
github: change condition to trigger the ci
Browse files Browse the repository at this point in the history
github.actor is the username of the last user that push in the PR
github.event.pull_request.user.login is the user who creates the PR

using pull request creator to trigger the ci avoid failures if other
user push a new commit on this PR
  • Loading branch information
eduardoveiga authored and otavio committed Jul 5, 2021
1 parent ce02840 commit 704de7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check-commit-message:
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'actions-user' && github.event.pull_request.draft == false }}
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.draft == false }}
name: Check Commit Message
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit 704de7b

Please sign in to comment.