Runs lint on all PRs to main (including external contributors) (#1502)
* Update lint.yml * Build and e2e on PRs
This commit is contained in:
parent
54be2a2ec1
commit
67bcbfd75a
3 changed files with 20 additions and 3 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -1,5 +1,12 @@
|
|||
name: Build
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- staging
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
timeout-minutes: 5
|
||||
|
|
9
.github/workflows/e2e.yml
vendored
9
.github/workflows/e2e.yml
vendored
|
@ -1,5 +1,12 @@
|
|||
name: E2E test
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- staging
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
test:
|
||||
timeout-minutes: 10
|
||||
|
|
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
@ -1,5 +1,8 @@
|
|||
name: Lint
|
||||
on: [push]
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue