diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 8bf5d67cc..20914f43f 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -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' diff --git a/CHANGELOG.md b/CHANGELOG.md index 65d339590..d2decf6ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -186,6 +186,7 @@ Special thanks to our repeat and new contributors: - CI: update tests.yml workflow to exclude web and documentation files #2263 @s-ff - CI: update build.yml workflow to exclude web and documentation files #2270 @s-ff - CI: add web releases workflow #2455 @s-ff +- CI: skip changelog.yml for dependabot PRs #2471 ### Raw diffs