Stop running pull request workflow on main
Instead of running the checks on `main`, I've opted to just rebase the current branch onto `main` as part of the workflow process so that I don't need to run checks twice, which starves CI resources and doubles the minutes I'd run tests on Firebase Test Lab
This commit is contained in:
parent
8ac6eb24a0
commit
9da4797070
1 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,6 @@ name: Build & Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
|
@ -11,6 +9,7 @@ jobs:
|
||||||
name: Validate
|
name: Validate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: git rebase origin/main
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: https://git.wbrawner.com/actions/setup-java@v4
|
uses: https://git.wbrawner.com/actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue