diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d36bb8f..5e35649 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,11 @@ name: CI # events but only for the main branch. on: push: - branches: [ main ] + # This will run when a push to main or photon is made + branches: [ "main", "photon" ] + # This will run when a pull request to main or photon is created pull_request: - branches: [ main ] + branches: [ "main", "photon" ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -35,4 +37,4 @@ jobs: # Runs a single command using the runners shell - name: Compile and run tests on robot code - run: ./gradlew build \ No newline at end of file + run: ./gradlew build