mirror of
https://github.com/mandiant/capa.git
synced 2025-12-27 13:13:09 -08:00
ci: skip changelog.yml when PR author is dependabot
This commit is contained in:
5
.github/workflows/changelog.yml
vendored
5
.github/workflows/changelog.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user