Browse Source

modify settings for 'PR to master'

Yuki Takei 4 years ago
parent
commit
0972b5e358
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/pr-to-master.yml

+ 2 - 2
.github/workflows/pr-to-master.yml

@@ -13,7 +13,7 @@ jobs:
   auto-labeling:
   auto-labeling:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
-    if: ${{ !startsWith( github.ref, 'refs/heads/support/prepare-v' ) }}
+    if: ${{ !contains( github.event.pull_request.labels.*.name, 'exclude from changelog' ) }}
 
 
     steps:
     steps:
       - uses: release-drafter/release-drafter@v5
       - uses: release-drafter/release-drafter@v5
@@ -25,7 +25,7 @@ jobs:
   check-title:
   check-title:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
-    if: ${{ !startsWith( github.ref, 'refs/heads/support/prepare-v' ) }}
+    if: ${{ !contains( github.event.pull_request.labels.*.name, 'exclude from changelog' ) && !startsWith( github.ref, 'refs/heads/chore/' ) }}
 
 
     steps:
     steps:
       - uses: amannn/action-semantic-pull-request@v3.4.2
       - uses: amannn/action-semantic-pull-request@v3.4.2