how can I output the array of labels associated to a PR. an echo gives me Array
as a result:
name: An action test
on:
pull_request:
branches: ['master']
jobs:
generate-matrix:
runs-on: [Linux]
container: xxx
steps:
- name: test
run: echo ${{ github.event.pull_request.labels.*.name }}