Преглед изворни кода

set skip settings for "prepare next version"

Yuki Takei пре 3 година
родитељ
комит
1b2a02cb06
2 измењених фајлова са 9 додато и 3 уклоњено
  1. 9 2
      .github/workflows/ci-app.yml
  2. 0 1
      .github/workflows/ci-slackbot-proxy.yml

+ 9 - 2
.github/workflows/ci-app.yml

@@ -5,8 +5,6 @@ on:
     branches-ignore:
       - release/**
       - rc/**
-      - chore/**
-      - support/prepare-v**
     paths:
       - .github/workflows/ci-app.yml
       - .eslint*
@@ -29,6 +27,9 @@ jobs:
   lint:
     runs-on: ubuntu-latest
 
+    if: |
+      !contains(github.event.pull_request.labels.*.name, 'prepare next version')
+
     strategy:
       matrix:
         node-version: [16.x]
@@ -80,6 +81,9 @@ jobs:
   test:
     runs-on: ubuntu-latest
 
+    if: |
+      !contains(github.event.pull_request.labels.*.name, 'prepare next version')
+
     strategy:
       matrix:
         node-version: [16.x]
@@ -146,6 +150,9 @@ jobs:
   launch-dev:
     runs-on: ubuntu-latest
 
+    if: |
+      !contains(github.event.pull_request.labels.*.name, 'prepare next version')
+
     strategy:
       matrix:
         node-version: [16.x]

+ 0 - 1
.github/workflows/ci-slackbot-proxy.yml

@@ -5,7 +5,6 @@ on:
     branches-ignore:
       - release/**
       - rc/**
-      - chore/**
       - support/prepare-v**
     paths:
       - .github/workflows/ci-slackbot-proxy.yml