Delete fb on label removed

This commit is contained in:
Adria Navarro 2023-12-14 11:14:05 +01:00
parent ad7be462fa
commit 4e934a56b7
1 changed files with 4 additions and 3 deletions

View File

@ -2,9 +2,7 @@ name: close-featurebranch
on:
pull_request:
types: [closed]
branches:
- master
types: [closed, unlabeled]
workflow_dispatch:
inputs:
BRANCH:
@ -14,6 +12,9 @@ on:
jobs:
release:
if: |
(contains(github.event.pull_request.labels.*.name, 'feature-branch') ||
contains(github.event.changes.labels.removed.*.name, 'feature-branch'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3