Skip to content

Commit

Permalink
fix: lighthouse only run on the right label attribution
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio W <[email protected]>
  • Loading branch information
ovflowd authored Nov 6, 2023
1 parent 622c205 commit bfbcfc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfbcfc4

Please sign in to comment.