Skip to content

Commit

Permalink
Merge pull request #45 from ixahmedxi/fix/delete-db-branch-action-3
Browse files Browse the repository at this point in the history
fix: delete-db-branch action
  • Loading branch information
ixahmedxi authored Apr 9, 2024
2 parents bfdd5dd + 4c98191 commit 97d1084
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pr-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
pull_request:
types: [closed]

env:
NEON_PROJECT_ID: ${{ secrets.NEON_PROJECT_ID }}
NEON_API_KEY: ${{ secrets.NEON_API_KEY }}

jobs:
delete-db-branch:
runs-on: ubuntu-latest
Expand All @@ -20,5 +16,5 @@ jobs:
uses: neondatabase/delete-branch-action@v3
with:
project_id: ${{ secrets.NEON_PROJECT_ID }}
branch_name: web/pr-${{ github.event.number }}-${{ steps.branch_name.outputs.current_branch }}
branch: web/pr-${{ github.event.number }}-${{ steps.branch_name.outputs.current_branch }}
api_key: ${{ secrets.NEON_API_KEY }}

0 comments on commit 97d1084

Please sign in to comment.