Run CI on master and develop branch
The documentation https://github.com/JF002/InfiniTime/blob/develop/doc/contribute.md#how-to-submit-a-pull-request- tells us to make pull requests against `develop` branch. Update the CI to run on those pull requests to have a check if the PR breaks something unintentionally.
This commit is contained in:
parent
6f9f0e8b0e
commit
3cc00771fa
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -9,13 +9,13 @@ name: Build PineTime Firmware
|
||||||
# When to run this Workflow...
|
# When to run this Workflow...
|
||||||
on:
|
on:
|
||||||
|
|
||||||
# Run this Workflow when files are updated (Pushed) in the "master" Branch
|
# Run this Workflow when files are updated (Pushed) in the "master" and "develop" Branch
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master, develop ]
|
||||||
|
|
||||||
# Also run this Workflow when a Pull Request is created or updated in the "master" Branch
|
# Also run this Workflow when a Pull Request is created or updated in the "master" and "develop" Branch
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master, develop ]
|
||||||
|
|
||||||
# Steps to run for the Workflow
|
# Steps to run for the Workflow
|
||||||
jobs:
|
jobs:
|
||||||
|
|
Loading…
Reference in a new issue