Skip to content

Copying from Copilot Chat's response fails to copy while Copilot is still adding text, even offscreen #1816

Copying from Copilot Chat's response fails to copy while Copilot is still adding text, even offscreen

Copying from Copilot Chat's response fails to copy while Copilot is still adding text, even offscreen #1816

Workflow file for this run

name: Random Triage
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
assign_triage_label:
runs-on: ubuntu-latest
steps:
- name: Assign Triage Label
if: ${{ join(github.event.issue.labels) == '' && join(github.event.issue.assignees) == '' }}
uses: actions-ecosystem/action-add-labels@v1
with:
labels: triage-needed
number: ${{ github.event.issue.number }}
github_token: ${{ secrets.GITHUB_TOKEN }}
assign_random_user:
needs: assign_triage_label
runs-on: ubuntu-latest
steps:
- name: Assign Random User
run: |
if ! gh issue view ${{ github.event.issue.number }} --repo ${{ github.event.repository.full_name }} --json labels | grep "triage-needed"; then
echo "Skipping triage assignment since triage-needed label is not present"
exit 0
fi
users=("lramos15" "roblourens" "digitarald" "ulugbekna" "jrieken" "aiday-mar" "joyceerhl" "mjbvz" "andreamah" "aeschli" "hediet" "rebornix" "bhavyaus" "TylerLeonhardt")
random_user=${users[$RANDOM % ${#users[@]}]}
echo "Assigning issue to $random_user"
gh issue edit ${{ github.event.issue.number }} --add-assignee $random_user --repo ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}