1
0
Fork 0
mirror of synced 2024-07-09 08:16:34 +12:00

Merge pull request #11880 from Budibase/featurebranches/close

workflow to trigger on PR close to delete feature branch env
This commit is contained in:
Martin McKeaveney 2023-09-25 22:02:08 +01:00 committed by GitHub
commit c7ea0350cd

View file

@ -0,0 +1,21 @@
name: close-featurebranch
on:
pull_request:
types: [closed]
branches:
- develop
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: passeidireto/trigger-external-workflow-action@main
env:
PAYLOAD_BRANCH: ${{ github.head_ref }}
PAYLOAD_PR_NUMBER: ${{ github.ref }}
with:
repository: budibase/budibase-deploys
event: featurebranch-qa-close
github_pat: ${{ secrets.GH_ACCESS_TOKEN }}