File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 3030 REPO="${{ inputs.repository || github.repository }}"
3131 echo "Checking repository: $REPO"
3232
33- if ! ./dev/check-release-blockers.sh "$REPO"; then
34- echo "::error::Release blocked by open issues with 'release-blocker' label"
35- exit 1
33+ # Only check for release blockers on release branches
34+ if [[ "${{ github.ref }}" == *"refs/heads/release/"* ]]; then
35+ echo "Release branch detected - checking for release blockers..."
36+ if ! ./dev/check-release-blockers.sh "$REPO"; then
37+ echo "::error::Release blocked by open issues with 'release-blocker' label"
38+ exit 1
39+ fi
40+ else
41+ echo "Non-release branch - skipping release blocker check"
3642 fi
3743 env :
3844 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments