From 3096dd602770d85d35993bbbc741de65854d29c8 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 28 Mar 2026 09:29:09 +0100 Subject: [PATCH] ci: fix https://docs.zizmor.sh/audits/#bot-conditions --- .github/workflows/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index c626894fa..05586d26b 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -10,7 +10,7 @@ permissions: jobs: dependabot: runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' }} + if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == github.event.pull_request.head.repo.full_name steps: - name: Dependabot metadata id: metadata