Do check labels

This commit is contained in:
Adria Navarro 2023-12-14 11:26:28 +01:00
parent c07914a0bf
commit 8542b8d87f
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ on:
jobs:
release:
if: |
contains(github.event.pull_request.labels.*.name, 'feature-branch') ||
github.event.label.name == 'feature-branch'
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'feature-branch')) ||
github.event.label.name == 'feature-branch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3