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:
NeroBurner 2021-09-10 23:42:49 +02:00 committed by GitHub
parent 6f9f0e8b0e
commit 3cc00771fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,13 +9,13 @@ name: Build PineTime Firmware
# When to run this Workflow...
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:
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:
branches: [ master ]
branches: [ master, develop ]
# Steps to run for the Workflow
jobs: