Skip to content

Refresh GitHub App token every 50 minutes #57

Refresh GitHub App token every 50 minutes

Refresh GitHub App token every 50 minutes #57

name: Remove snapshot branch
on:
pull_request_target:
types:
- closed
jobs:
delete-pr-branch:
runs-on: ubuntu-latest
if: github.event.sender.login != 'dependabot[bot]'
steps:
- name: Checkout project
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Remove snapshot branch
run: git push origin -d snapshots/${{ github.event.number }} || true