Ver código fonte

set skip settings for "prepare next version"

Yuki Takei 3 anos atrás
pai
commit
1b2a02cb06

+ 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