Browse Source

fix to remove deployment when pr closed with existing tag (#2174)

Co-authored-by: Azat Safin <azsafin@provectus.com>
azatsafin 3 years ago
parent
commit
d565ad4e38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/branch-remove.yml

+ 1 - 1
.github/workflows/branch-remove.yml

@@ -5,7 +5,7 @@ on:
     types: ['unlabeled', 'closed']
 jobs:
   remove:
-    if: ${{ github.event.label.name == 'status/feature_testing' || github.event.label.name == 'status/feature_testing_public' }}
+    if: ${{ github.event.label.name == 'status/feature_testing' || github.event.label.name == 'status/feature_testing_public' || github.event.action == 'closed'}}
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3