Skip to content

Commit

Permalink
build: use pull_request_target in actions workflow
Browse files Browse the repository at this point in the history
Coverage uploads require access to a repository secret, which isn't
accessible to pull requests from forks with the `pull_request` event.
  • Loading branch information
richardlau committed Oct 26, 2020
1 parent 7f4dc03 commit 4b069ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs-ci-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
pull_request_target:
branches: [ master, actionstest ]

jobs:
build:
Expand Down

0 comments on commit 4b069ed

Please sign in to comment.