mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-19 19:14:51 +00:00
34 lines
No EOL
765 B
YAML
34 lines
No EOL
765 B
YAML
name: Issue labeler
|
|
on:
|
|
issues:
|
|
types: [ opened ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
label-component:
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
# required for all workflows
|
|
issues: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Parse issue form
|
|
uses: stefanbuck/github-issue-parser@v3
|
|
id: issue-parser
|
|
with:
|
|
template-path: .github/ISSUE_TEMPLATE/bug_report.yml
|
|
|
|
- name: Set labels based on plugin field
|
|
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2
|
|
with:
|
|
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
|
|
section: plugin
|
|
block-list: |
|
|
None
|
|
Other
|
|
token: ${{ secrets.GITHUB_TOKEN }} |