Skip to content

fix: tf backend get_item and add set_item #10

fix: tf backend get_item and add set_item

fix: tf backend get_item and add set_item #10

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 }}