From bfbcfc488dce8902ffbcf33988ee67cf1d9080de Mon Sep 17 00:00:00 2001 From: Claudio W Date: Mon, 6 Nov 2023 22:51:18 +0100 Subject: [PATCH] fix: lighthouse only run on the right label attribution Signed-off-by: Claudio W --- .github/workflows/lighthouse.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index da2c685a42026..3f4fd82bd54c0 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -29,7 +29,9 @@ permissions: jobs: lighthouse-ci: # We want to skip our lighthouse analysis on Dependabot PRs - if: startsWith(github.event.pull_request.head.ref, 'dependabot/') == false + if: | + startsWith(github.event.pull_request.head.ref, 'dependabot/') == false && + github.event.label.name == 'github_actions:pull-request' name: Lighthouse Report runs-on: ubuntu-latest