2023-10-20 07:38:08 -04:00
|
|
|
name: Pick an assignee
|
2023-04-12 10:06:26 -04:00
|
|
|
description: "Pick an assignee"
|
|
|
|
|
|
|
|
outputs:
|
|
|
|
assignee:
|
|
|
|
description: "GitHub login of the assignee"
|
|
|
|
value: ${{ steps.pick-assignee.outputs.assignee }}
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- name: Pick an assignee
|
|
|
|
id: pick-assignee
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
possibleAssignees=(
|
2023-06-14 05:44:45 -04:00
|
|
|
"elchead"
|
2023-04-12 10:06:26 -04:00
|
|
|
"malt3"
|
|
|
|
"3u13r"
|
|
|
|
"daniel-weisse"
|
2023-10-05 07:54:45 -04:00
|
|
|
"msanft"
|
2023-12-18 06:22:40 -05:00
|
|
|
"burgerdev"
|
2023-04-12 10:06:26 -04:00
|
|
|
)
|
|
|
|
assignee=${possibleAssignees[$RANDOM % ${#possibleAssignees[@]}]}
|
|
|
|
echo "assignee=$assignee" | tee -a "$GITHUB_OUTPUT"
|