ci: skip changelog.yml when PR author is dependabot

This commit is contained in:
Soufiane Fariss
2024-10-23 00:05:39 +02:00
parent d4d856767d
commit 24236dda0e
2 changed files with 5 additions and 1 deletions

View File

@@ -13,7 +13,10 @@ permissions:
jobs:
check_changelog:
# no need to check for dependency updates via dependabot
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
# github.event.pull_request.user.login refers to PR author
if: |
github.event.pull_request.user.login != 'dependabot[bot]' &&
github.event.pull_request.user.login != 'dependabot-preview[bot]'
runs-on: ubuntu-latest
env:
NO_CHANGELOG: '[x] No CHANGELOG update needed'