Skip to content

feat: add Figma clipboard paste with WASM rendering #12

feat: add Figma clipboard paste with WASM rendering

feat: add Figma clipboard paste with WASM rendering #12

name: Delete merged branches
on:
pull_request:
types:
- closed
jobs:
delete-branch:
if: github.event.pull_request.merged == true && (startsWith(github.event.pull_request.head.ref, 'feat') || startsWith(github.event.pull_request.head.ref, 'fix') || startsWith(github.event.pull_request.head.ref, 'ref') || startsWith(github.event.pull_request.head.ref, 'chore'))
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Delete branch
run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
git push origin --delete ${{ github.event.pull_request.head.ref }}