Nightly musl Failure - 9 #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Blocker Cleanup | |
on: | |
issues: | |
types: [closed] | |
permissions: | |
issues: write | |
contents: read | |
jobs: | |
remove-release-blocker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
- name: Remove release-blocker label from closed issue | |
run: | | |
ISSUE_NUMBER=${{ github.event.issue.number }} | |
echo "Checking if issue #$ISSUE_NUMBER has release-blocker label..." | |
# Check if the issue has the release-blocker label | |
HAS_LABEL=$(gh issue view "$ISSUE_NUMBER" --json labels -q '.labels[] | select(.name == "release-blocker") | .name') | |
if [ -n "$HAS_LABEL" ]; then | |
echo "✅ Issue #$ISSUE_NUMBER has release-blocker label, removing it..." | |
gh issue edit "$ISSUE_NUMBER" --remove-label "release-blocker" | |
echo "✅ Successfully removed release-blocker label from issue #$ISSUE_NUMBER" | |
else | |
echo "ℹ️ Issue #$ISSUE_NUMBER does not have release-blocker label, no action needed" | |
fi | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |