File tree Expand file tree Collapse file tree 4 files changed +10
-490
lines changed Expand file tree Collapse file tree 4 files changed +10
-490
lines changed Original file line number Diff line number Diff line change 21
21
id : get_branch_id
22
22
# list all branches and filter by name
23
23
run : |
24
- branch_id=$(curl --silent \
24
+ branch_id=$(curl --silent --fail-with-body \
25
25
"https://console.neon.tech/api/v2/projects/${{ secrets.NEON_PROJECT_ID }}/branches" \
26
26
--header "Accept: application/json" \
27
27
--header "Content-Type: application/json" \
32
32
echo "branch_id=${branch_id}" >> $GITHUB_OUTPUT
33
33
34
34
- name : Delete Neon Branch
35
- uses : neondatabase/delete-branch-action@v2
35
+ uses : neondatabase/delete-branch-action@v3
36
36
with :
37
37
project_id : ${{ secrets.NEON_PROJECT_ID }}
38
38
branch_id : ${{ steps.get_branch_id.outputs.branch_id }}
Original file line number Diff line number Diff line change 21
21
uses : actions/checkout@v3
22
22
23
23
- name : Neon Database Create Branch Action
24
- uses : neondatabase/create-branch-action@v3
24
+ uses : neondatabase/create-branch-action@v4
25
25
id : create_branch
26
26
with :
27
27
project_id : ${{ secrets.NEON_PROJECT_ID }}
You can’t perform that action at this time.
0 commit comments