kubernetesbare-metalk8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergce
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
835 B
32 lines
835 B
name: Issue labeler
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
label-component:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
|
|
- name: Parse issue form
|
|
uses: stefanbuck/github-issue-parser@2ea9b35a8c584529ed00891a8f7e41dc46d0441e
|
|
id: issue-parser
|
|
with:
|
|
template-path: .github/ISSUE_TEMPLATE/bug-report.yaml
|
|
|
|
- name: Set labels based on OS field
|
|
uses: redhat-plumbers-in-action/advanced-issue-labeler@0db433d412193574252480b4fc22f2e4319a4ea3
|
|
with:
|
|
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
|
|
section: os
|
|
block-list: |
|
|
None
|
|
Other
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|