name: Purge branch on: delete: jobs: purge: name: Delete ref from versions API uses: ./.github/workflows/versionsapi.yml permissions: id-token: write contents: read secrets: inherit with: command: remove rm_all: true ref: ${{ github.event.ref }}