From ddd8fec33f6e950f77a0b1c01d4f26644be02825 Mon Sep 17 00:00:00 2001 From: Paul Abel <128620221+pdabelf5@users.noreply.github.com> Date: Thu, 9 May 2024 10:48:24 +0100 Subject: [PATCH] Delete operator branch (#297) --- .github/workflows/delete-operator-branch.yml | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/delete-operator-branch.yml diff --git a/.github/workflows/delete-operator-branch.yml b/.github/workflows/delete-operator-branch.yml new file mode 100644 index 00000000..7a169056 --- /dev/null +++ b/.github/workflows/delete-operator-branch.yml @@ -0,0 +1,23 @@ +name: Delete Operator Branch + +on: + workflow_dispatch: + inputs: + branch: + description: "Operator Branch to delete" + default: "update-nginx-ingress-operator-to-v2.2.1" + +permissions: + contents: read + +jobs: + branch-delete: + runs-on: ubuntu-22.04 + steps: + - name: Delete branch + uses: dawidd6/action-delete-branch@v3 + with: + github_token: ${{ secrets.NGINX_PAT }} + branches: ${{ inputs.branch }} + repository: certified-operators + owner: nginx-bot