diff --git a/.github/workflows/release-next-branch.yml b/.github/workflows/release-next-branch.yml index 84301fa31..7a75a82a5 100644 --- a/.github/workflows/release-next-branch.yml +++ b/.github/workflows/release-next-branch.yml @@ -16,10 +16,5 @@ jobs: - uses: actions/checkout@v3 with: ref: main - - id: main-state - run: | - state=$(curl -fsSL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" "https://api.github.com/repos/${{ github.repository }}/commits/HEAD/status" | jq -r '.state') - echo "state=${state}" >> $GITHUB_OUTPUT - - if: ${{ steps.main-state.outputs.state == 'success' }} - run: | + - run: | git push origin --force main:next