Sfoglia il codice sorgente

update pr-to-master.yml

Yuki Takei 4 anni fa
parent
commit
1bd8aaa115
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      .github/workflows/pr-to-master.yml

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

@@ -27,8 +27,7 @@ jobs:
 
 
     if: |
     if: |
       (!contains( github.event.pull_request.labels.*.name, 'exclude from changelog' ) &&
       (!contains( github.event.pull_request.labels.*.name, 'exclude from changelog' ) &&
-        !startsWith( github.ref, 'refs/heads/chore/' ) &&
-        !startsWith( github.ref, 'refs/heads/dependabot/' ))
+        !startsWith( github.head_ref, 'dependabot/' ))
 
 
     steps:
     steps:
       - uses: amannn/action-semantic-pull-request@v3.4.2
       - uses: amannn/action-semantic-pull-request@v3.4.2