mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
github: run checks for PRs
This commit is contained in:
parent
bdd6acc01c
commit
2c49d08759
1 changed files with 5 additions and 1 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -5,6 +5,10 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-unit-tests:
|
run-unit-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -56,7 +60,7 @@ jobs:
|
||||||
arguments: spotlessCheck
|
arguments: spotlessCheck
|
||||||
deploy-release-snapshot:
|
deploy-release-snapshot:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: "github.event_name == 'push'"
|
||||||
needs: [ "run-unit-tests", "stylecheck" ]
|
needs: [ "run-unit-tests", "stylecheck" ]
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue