Add label for deployments

This commit is contained in:
Adria Navarro 2023-12-14 10:48:57 +01:00
parent 51acf6aadc
commit 46abfdd1ea
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@ on:
jobs: jobs:
release: release:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'Budibase/budibase' if: |
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == 'Budibase/budibase'||
contains(github.event.issue.labels.*.name, 'feature-branch')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3