Skip to content

Commit

Permalink
fix(ci): use correct dependabot user for checks (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
julio-lopez authored Sep 21, 2023
1 parent 22badfc commit c149fd4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/triage-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -33,7 +34,7 @@ jobs:
uses: alex-page/[email protected]
# 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
Expand Down

0 comments on commit c149fd4

Please sign in to comment.