Update dependency tap to v16.3.9 #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cleanup Neon Database Branch | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
delete-branch: | |
environment: | |
name: development | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get PR info | |
id: get-pr-info | |
uses: actions-ecosystem/[email protected] | |
with: | |
github_token: ${{secrets.GITHUB_TOKEN}} | |
- run: | | |
echo ${{ steps.get-pr-info.outputs.number}} | |
- name: Delete Neon Branch | |
if: ${{ steps.get-pr-info.outputs.number }} | |
uses: neondatabase/delete-branch-action@v3 | |
with: | |
project_id: ${{ secrets.NEON_PROJECT_ID }} | |
branch: pr-${{ steps.get-pr-info.outputs.number }} | |
api_key: ${{ secrets.NEON_API_KEY }} |