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:
2
.github/workflows/pronto.yml
vendored
2
.github/workflows/pronto.yml
vendored
@@ -4,7 +4,7 @@ on: [pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
pronto:
|
pronto:
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user