Skip to content

Update compiler.py 46eda10 #7

Update compiler.py 46eda10

Update compiler.py 46eda10 #7

Workflow file for this run

name: assign
on:
pull_request:
types:
- opened
- ready_for_review
pull_request_target:
types:
- opened
- ready_for_review
issues:
types:
- opened
jobs:
assign:
runs-on: ubuntu-latest
steps:
- name: Get random assignee
id: random
run: |
ASSIGNEES=("Sam-Armstrong" "hmahmood24" "YushaArif99")
RANDOM_INDEX=$((RANDOM % ${#ASSIGNEES[@]}))
echo "assignee=${ASSIGNEES[$RANDOM_INDEX]}" >> $GITHUB_OUTPUT
- name: Assign the issue or PR
uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: ${{ secrets.DEV_BOT_GENERAL_PAT }}
assignees: ${{ steps.random.outputs.assignee }}