Просмотр исходного кода

fix condition to skip cypress and reg-suit

Yuki Takei 4 лет назад
Родитель
Сommit
98049efd6a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/ci-app-prod.yml

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

@@ -24,7 +24,7 @@ jobs:
     uses: weseek/growi/.github/workflows/reusable-app-prod.yml@master
     with:
       node-version: 16.x
-      skip-cypress: ${{ !contains( github.event.pull_request.labels.*.name, 'dependencies' ) && !contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
+      skip-cypress: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
       cypress-report-artifact-name: Cypress report
     secrets:
       SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -39,7 +39,7 @@ jobs:
 
     with:
       node-version: 16.x
-      skip-reg-suit: ${{ !contains( github.event.pull_request.labels.*.name, 'dependencies' ) && !contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
+      skip-reg-suit: ${{ contains( github.event.pull_request.labels.*.name, 'dependencies' ) && contains( github.event.pull_request.labels.*.name, 'github_actions' ) }}
       cypress-report-artifact-name: Cypress report
     secrets:
       REG_NOTIFY_GITHUB_PLUGIN_CLIENTID: ${{ secrets.REG_NOTIFY_GITHUB_PLUGIN_CLIENTID }}