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 }}