From c149fd436dff4ad7b7a21fee915e51adfaeb125b Mon Sep 17 00:00:00 2001 From: Julio Lopez <1953782+julio-lopez@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:20:05 -0700 Subject: [PATCH] fix(ci): use correct dependabot user for checks (#2348) --- .github/workflows/triage-prs.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/triage-prs.yaml b/.github/workflows/triage-prs.yaml index 18c21e83e8..84c7f4531a 100644 --- a/.github/workflows/triage-prs.yaml +++ b/.github/workflows/triage-prs.yaml @@ -12,7 +12,8 @@ permissions: jobs: pull-requests-comment: name: Comment and Triage - if: github.repository == 'kanisterio/kanister' && github.actor != 'dependabot' + # The entire job is skipped for @dependabot + if: github.repository == 'kanisterio/kanister' && github.actor != 'dependabot[bot]' permissions: pull-requests: write runs-on: ubuntu-latest @@ -33,7 +34,7 @@ jobs: uses: alex-page/github-project-automation-plus@v0.8.3 # This only works for PRs opened in the same repo and not by dependabot. # Other PRs don't get the necessary credentials. - if: github.repository == 'kanisterio/kanister' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot' + if: github.repository == 'kanisterio/kanister' && !github.event.pull_request.head.repo.fork with: repo-token: ${{ secrets.GH_TOKEN }} project: Kanister