Skip to content

Commit

Permalink
chore(v2): fix PRs not able to add lighthouse/buildsize comment from …
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Nov 30, 2020
1 parent ad31fac commit 764d1fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-size.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Build Size

on:
# Trigger the workflow on pull request,
# but only for the master branch
pull_request:
pull_request_target:
branches:
- master

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/lighthouseCI.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Lighthouse CI
on: pull_request

on: pull_request_target

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -53,8 +55,8 @@ jobs:
' ',
`*Lighthouse ran on [${Object.keys(links)[0]}](${Object.keys(links)[0]})*`
].join('\n')
core.setOutput("comment", comment);
core.setOutput("comment", comment);
- name: Add Lighthouse stats as comment
id: comment_to_pr
uses: marocchino/[email protected]
Expand Down

0 comments on commit 764d1fd

Please sign in to comment.