Skip to content

Commit 8f0b15e

Browse files
committed
ci: also trigger workflow on PRs
This should allow PRs from forks to run checks: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-events-for-forked-repositories Might need to restrict the events that trigger it though, it sounds like even stuff like labels and assignments will trigger the workflow: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#pull-request-event-pull_request
1 parent 7dcdd62 commit 8f0b15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Node CI
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
test:

0 commit comments

Comments
 (0)