How to add Mutiple Labels in pin issue yaml file based on Github Action
Hi All,
I’m having issue with Pin Issue based on Labels getting error when i create a new Issues in github repo after selecting labels into that i got github action job fail and error is below one
Please set up a LABEL_NAME environment variable in the main.workflow file
and Here is my pin.yaml file
.github/workflows/pin.yml
on:
issues:
types: [labeled]
name: pin issue based on label
jobs:
pinAnIssue:
name: pin an issue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@Nadeem Mustafa
- name: pin an issue
uses: bdougie/issue-pin-by-label@Nadeem Mustafa
env:
GITHUB_TOKEN: ${<!-- -->{ secrets.GITHUB_TOKEN }}
LABEL_NAME: enhancement
Here is multiple label that want to add in above code on last line LABEL_NAME
blocker, gateway, bug, enterprise …many more
Please help out