Skip to content

[Backport 2.x] Add permission for get workflow step #1421

[Backport 2.x] Add permission for get workflow step

[Backport 2.x] Add permission for get workflow step #1421

name: Delete merged branch of the backport PRs
on:
pull_request:
types:
- closed
jobs:
delete-branch:
runs-on: ubuntu-latest
if: startsWith(github.event.pull_request.head.ref,'backport/')
steps:
- name: Delete merged branch
uses: SvanBoxel/delete-merged-branch@b77e873cee00b09f55cc553bd24aae5f8dfc9157
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}