diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 676814635b..5db6184ece 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,16 +6,8 @@ # Name of this Workflow name: Build PineTime Firmware -# When to run this Workflow... -on: - - # Run this Workflow when files are updated (Pushed) in the "master" Branch - push: - branches: [ master ] - - # Also run this Workflow when a Pull Request is created or updated in the "master" Branch - pull_request: - branches: [ master ] +# Run this Workflow when Pull Request is created or updated +on: [pull_request] # Steps to run for the Workflow jobs: @@ -168,4 +160,4 @@ jobs: find . -name "pinetime-mcuboot-app.*" -ls # Embedded Arm Toolchain and nRF5 SDK will only be cached if the build succeeds. -# So make sure that the first build always succeeds, e.g. comment out the "Make" step. \ No newline at end of file +# So make sure that the first build always succeeds, e.g. comment out the "Make" step.