Fix linters workflow on Dependabot pull requests

The name of the actor is not dependabot but dependabot[bot] [1].

[1] https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events
This commit is contained in:
Javi Martín
2024-06-18 19:54:06 +02:00
parent 961d7d9efa
commit e2a8b3caae

View File

@@ -4,7 +4,7 @@ on: [pull_request]
jobs:
pronto:
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.actor != 'dependabot'
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.actor != 'dependabot[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4