codeowners-validator icon indicating copy to clipboard operation
codeowners-validator copied to clipboard

How to exclude bots such as dependabot?

Open nitrocode opened this issue 2 years ago • 0 comments

Description

How to exclude bots such as dependabot?

Workaround https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#fetch-metadata-about-a-pull-request

    - uses: mszostok/[email protected]
      if: ${{ github.actor != 'dependabot[bot]' }}

Reasons

It would be nice to merge dependabot PRs by excluding specific authors from codeowner validation such as app/dependabot

nitrocode avatar Oct 25 '23 18:10 nitrocode