Delete application branch in Pactflow #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Delete application branch in Pactflow | |
on: | |
delete: | |
branches: | |
- "*" | |
jobs: | |
delete-branch-in-pactflow: | |
name: delete | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Requires Ruby to encode the URL path correctly - could use any other scripting language here | |
- uses: ruby/setup-ruby@v1 | |
- name: Delete branch in Pactflow | |
run: script/ci/delete-branch-in-pactflow.sh | |
env: | |
GIT_BRANCH: ${{ github.event.ref }} | |
PACTICIPANT: "Pact Broker Client" | |
PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN_PACT_FOUNDATION }} | |
PACT_BROKER_BASE_URL: "https://pact-foundation.pactflow.io" |