diff --git a/.github/workflows/build-size.yml b/.github/workflows/build-size.yml index fdf43f79f6..caa1d4c2c4 100644 --- a/.github/workflows/build-size.yml +++ b/.github/workflows/build-size.yml @@ -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 diff --git a/.github/workflows/lighthouseCI.yml b/.github/workflows/lighthouseCI.yml index 5a906a4105..544e5a404a 100644 --- a/.github/workflows/lighthouseCI.yml +++ b/.github/workflows/lighthouseCI.yml @@ -1,5 +1,7 @@ name: Lighthouse CI -on: pull_request + +on: pull_request_target + jobs: build: runs-on: ubuntu-latest @@ -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/sticky-pull-request-comment@v2.0.0