From 9b6f2c0bf1e060b7c15eaf147d83cda786f6af17 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Sat, 20 Apr 2024 00:57:40 +0100 Subject: [PATCH] Use bot type for check (#8362) --- .github/workflows/labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 268ef1c7cdb..8d9c0f6f4a2 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -9,7 +9,7 @@ jobs: backport: runs-on: ubuntu-latest name: Backport label added - if: ${{ github.actor != 'dependabot[bot]' }} + if: ${{ github.event.pull_request.user.type != 'Bot' }} steps: - uses: actions/github-script@v7 with: