ci: allow tests to be run in forks
Drop the filter on `master`. This prevents us from running the CI on forked repositories. In particular, it prevents us from pushing branches to github-forks and have the CI run on them. This is very nice to have as development tool, as it allows running the real CI without opening a PR.
This commit is contained in:
parent
2d959e4d43
commit
52b80a2a23
1 changed files with 1 additions and 9 deletions
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
|
@ -1,14 +1,6 @@
|
|||
name: Tests
|
||||
|
||||
# NOTE(mhayden): Restricting branches prevents jobs from being doubled since
|
||||
# a push to a pull request triggers two events.
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "*"
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
pylint:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue