Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/pr-auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,6 @@ jobs:
fi
echo "pr_number=$PR_NUMBER" >> $GITHUB_OUTPUT

- name: Check if PR is a draft
id: check_draft
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
PR_STATUS=$(gh pr view ${{ steps.pr_number.outputs.pr_number }} --json isDraft -q .isDraft)
if [ "$PR_STATUS" == "true" ]; then
echo "This PR is a draft. Skipping the workflow."
exit 0
fi

- name: Checkout workflows
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand Down