branchcleanup.yml 386 Bytes
Newer Older
1
2
3
---
name: Branch Cleanup
# This workflow is triggered on all closed pull requests.
4
# However the script does not do anything if a merge was not performed.
5
"on":
6
7
8
9
10
11
12
13
14
15
16
17
  pull_request:
    types: [closed]

env:
  NO_BRANCH_DELETED_EXIT_CODE: 0
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: jessfraz/branch-cleanup-action@master