mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-04 22:08:29 +00:00
Chore: Run ci only when label is added (#1796)
* run ci only when label 'run-ci' is added * add labeled type * fix label
This commit is contained in:
parent
12bf65605f
commit
51075205b9
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
|||
push:
|
||||
branches: [develop, main]
|
||||
pull_request:
|
||||
types: [ labeled ]
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
@ -28,6 +29,7 @@ env:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.label.name == 'run-ci' }}
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
|
|
@ -56,6 +58,7 @@ jobs:
|
|||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.label.name == 'run-ci' }}
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
|
|
|
|||
Loading…
Reference in a new issue