Skip to content

test issue labels action #1

test issue labels action

test issue labels action #1

name: assign-from-label
on:
issues:
types:
- labeled
pull_request:
types:
- labeled
jobs:
assign-from-label:
runs-on: ubuntu-latest
steps:
- uses: pietrobolcato/[email protected]
id: metadata
with:
config: .github/assets/user-labels.yml
- name: echo
run: |
echo ${{ github.event.label.name }}
echo ${{ steps.metadata.outputs[github.event.label.name] }}
- name: if
if: ${{ steps.metadata.outputs[github.event.label.name] }} != ""
run: |
will assign user ${{ steps.metadata.outputs[github.event.label.name] }}