diff --git a/.github/workflows/github-actions-release-candidate.yml b/.github/workflows/github-actions-release-candidate.yml index e0a2b73c1b..4b2d441b91 100644 --- a/.github/workflows/github-actions-release-candidate.yml +++ b/.github/workflows/github-actions-release-candidate.yml @@ -37,31 +37,6 @@ jobs: run: | git config --local user.name "${{ github.actor }}" git config --local user.email "${{ github.actor }}@users.noreply.github.com" - - - name: Check for "Inactive RC" label - id: check-inactive-rc - run: | - PR_NUMBER=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \ - "https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }}/pulls" \ - | jq '.[0].number') - echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV - - if [ ! -z "$PR_NUMBER" ] && [ "$PR_NUMBER" != "null" ]; then - echo "✅ Successfully found PR number: $PR_NUMBER" - else - echo "❌ Unable to find PR number" - exit 1 - fi - - echo "Fetching labels for PR #$PR_NUMBER..." - LABELS=$(gh pr view $PR_NUMBER --json labels -q '.labels[].name' || echo "Failed to fetch labels") - echo "Found labels: $LABELS" - - if echo "$LABELS" | grep -iq "Inactive RC"; then - echo "⛔ PR has the 'Inactive RC' label. Skipping the release candidate process." - exit 0 - fi - - name: Get Semver Label id: get-label run: |