From b0b504b7c7ae21fd2197061ba936b7fd4da8fdf2 Mon Sep 17 00:00:00 2001 From: Jason Antwi-Appah Date: Tue, 13 Feb 2024 01:11:22 -0600 Subject: [PATCH] Bump Neon workflow version --- .github/workflows/delete-neon-branch.yml | 4 ++-- .github/workflows/deploy-preview.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/delete-neon-branch.yml b/.github/workflows/delete-neon-branch.yml index cbfb58807..7a5faba0c 100644 --- a/.github/workflows/delete-neon-branch.yml +++ b/.github/workflows/delete-neon-branch.yml @@ -21,7 +21,7 @@ jobs: id: get_branch_id # list all branches and filter by name run: | - branch_id=$(curl --silent \ + branch_id=$(curl --silent --fail-with-body \ "https://console.neon.tech/api/v2/projects/${{ secrets.NEON_PROJECT_ID }}/branches" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ @@ -32,7 +32,7 @@ jobs: echo "branch_id=${branch_id}" >> $GITHUB_OUTPUT - name: Delete Neon Branch - uses: neondatabase/delete-branch-action@v2 + uses: neondatabase/delete-branch-action@v3 with: project_id: ${{ secrets.NEON_PROJECT_ID }} branch_id: ${{ steps.get_branch_id.outputs.branch_id }} diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index e6743d36f..65cab0156 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v3 - name: Neon Database Create Branch Action - uses: neondatabase/create-branch-action@v3 + uses: neondatabase/create-branch-action@v4 id: create_branch with: project_id: ${{ secrets.NEON_PROJECT_ID }}