Skip to content

Add devcontainer settings #22

Add devcontainer settings

Add devcontainer settings #22

name: Get Random Assignee
on:
push:
branches:
- 'feature/*'
jobs:
assign:
name: Get random assignee
runs-on: ubuntu-latest
steps:
- name: Get random assignee
id: assignee
shell: pwsh
run: |
$scriptUrl = "https://raw.githubusercontent.com/hackersground-kr/operations/${{ github.ref_name }}/get-randomassignee/Get-RandomAssignee.ps1"
Invoke-RestMethod $scriptUrl | Out-File ~/Get-RandomAssignee.ps1
$assignee = $(~/Get-RandomAssignee.ps1 -Assignees "${{ vars.INSPECTORS }}")
echo "value=$assignee" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf-8 -Append
- name: Show assignee
shell: pwsh
run: |
echo "${{ steps.assignee.outputs.value }}"