mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
24 lines
560 B
YAML
24 lines
560 B
YAML
name: Pick an assignee
|
|
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=(
|
|
"elchead"
|
|
"daniel-weisse"
|
|
"msanft"
|
|
"burgerdev"
|
|
)
|
|
assignee=${possibleAssignees[$RANDOM % ${#possibleAssignees[@]}]}
|
|
echo "assignee=$assignee" | tee -a "$GITHUB_OUTPUT"
|