File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1- name : Auto-assign Issues to Copilot
1+ name : Autopilot
22
33on :
44 workflow_dispatch :
55 schedule :
6- - cron : " 0 0 * * 1"
6+ # 17:00 UTC on Monday, Wednesday, and Friday
7+ # 17:00 UTC is (usually) 10:00 PDT
8+ - cron : " 0 17 * * 1,3,5"
79
810permissions :
911 issues : write
1618 uses : actions/checkout@v5
1719 - name : Assign issue to copilot
1820 run : |
19- issue_number=$(gh issue list --state open --label 'copilot -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' --json number --jq '.[].number' | shuf -n 1)
2022 gh issue edit $issue_number --add-assignee "@copilot"
2123 env :
2224 GH_TOKEN : ${{ secrets.AUTOPILOT_PAT }}
You can’t perform that action at this time.
0 commit comments