Skip to content

Commit

Permalink
Delete operator branch (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored May 9, 2024
1 parent 29c83b3 commit ddd8fec
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/delete-operator-branch.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ddd8fec

Please sign in to comment.