Skip to content

Update docs to v0.1.18 #28

Update docs to v0.1.18

Update docs to v0.1.18 #28

name: Delete Specific Branch After Merge
on:
pull_request:
types: [closed]
jobs:
delete-branch:
if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'update-cookbook-submodule'
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
token: ${{ secrets.PUBLIC_DOCS_WRITE_TOKEN }}
submodules: true
- name: Delete Branch
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git push origin --delete ${{ github.event.pull_request.head.ref }}