mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 21:47:01 +02:00
chore(v2): fix PRs not able to add lighthouse/buildsize comment from works (#3846)
https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/
This commit is contained in:
parent
ad31facb32
commit
764d1fd191
2 changed files with 6 additions and 6 deletions
4
.github/workflows/build-size.yml
vendored
4
.github/workflows/build-size.yml
vendored
|
@ -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
|
||||
|
||||
|
|
4
.github/workflows/lighthouseCI.yml
vendored
4
.github/workflows/lighthouseCI.yml
vendored
|
@ -1,5 +1,7 @@
|
|||
name: Lighthouse CI
|
||||
on: pull_request
|
||||
|
||||
on: pull_request_target
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue