Skip to content

Commit

Permalink
Skip GitLab CI for dependabot (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
skosukhin authored Apr 18, 2024
1 parent bbc14c2 commit 8cf510c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
if: |
github.repository_owner == 'earth-system-radiation' &&
( github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.owner.login == github.repository_owner )
( github.event.pull_request.head.repo.owner.login == github.repository_owner &&
github.event.pull_request.user.login != 'dependabot' ))
runs-on: ubuntu-latest
outputs:
ref-name: ${{ steps.g-push-rev.outputs.ref-name }}
Expand Down Expand Up @@ -103,7 +104,8 @@ jobs:
if: |
github.repository_owner == 'earth-system-radiation' &&
( github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.owner.login == github.repository_owner )
( github.event.pull_request.head.repo.owner.login == github.repository_owner &&
github.event.pull_request.user.login != 'dependabot' ))
runs-on: ubuntu-latest
outputs:
ref-name: ${{ steps.g-push-rev.outputs.ref-name }}
Expand Down

0 comments on commit 8cf510c

Please sign in to comment.