Skip to content

Commit 313cb8c

Browse files
authored
Exclude blocked issues from Autopilot (#701)
1 parent 5ef2416 commit 313cb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/autopilot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v5
1919
- name: Assign issue to copilot
2020
run: |
21-
issue_number=$(gh issue list --state open --label 'autopilot-candidate' --search 'no:assignee' --json number --jq '.[].number' | shuf -n 1)
21+
issue_number=$(gh issue list --state open --label 'autopilot-candidate' --search 'no:assignee -is:blocked' --json number --jq '.[].number' | shuf -n 1)
2222
gh issue edit $issue_number --add-assignee "@copilot"
2323
env:
2424
GH_TOKEN: ${{ secrets.AUTOPILOT_PAT }}

0 commit comments

Comments
 (0)