Commit 0d097a09 authored by Robert Knight's avatar Robert Knight

Run GitHub Actions checks on pull_request rather than push event

This ensures that GitHub Actions checks run for PRs submitted from forks,
which includes all PRs submitted by people outside the Hypothesis
organization.

Note that this change which commit the checks run on. See [1] for
details.

This change also matches how GitHub CI is set up in other projects (eg.
lms, h).

[1] https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request
parent bd15d3e8
name: Continuous integration
on: [push]
on: pull_request
jobs:
ci:
runs-on: ubuntu-latest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment