This changes workflows to run unit tests for every new commit (including PRs). A new release will only be published if all tests pass on the master branch.
14 lines
271 B
YAML
14 lines
271 B
YAML
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
|
|
name: On push to a secondary branch
|
|
|
|
on:
|
|
push:
|
|
branches-ignore: [master]
|
|
|
|
jobs:
|
|
run-tests:
|
|
uses: ./.github/workflows/run-tests.yml
|
|
with:
|
|
ref: ${{ github.event.ref }}
|