Skip to content

feat: GH actions

feat: GH actions #1

Workflow file for this run

name: Clean up after Pull Request
on:
pull_request:
types: [closed]
jobs:
delete-db-branch:
runs-on: ubuntu-latest
steps:
- name: Delete Neon Branch
uses: neondatabase/[email protected]
with:
project_id: ${{ secrets.NEON_PROJECT_ID }}
branch_name: web/pr-${{ github.event.number}}-${{ steps.branch_name.outputs.current_branch }}
api_key: ${{ secrets.NEON_API_KEY }}