GDT test #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/marketplace/actions/advanced-issue-labeler | |
# Currently only used for adding the 'Awaiting GDT Approval' label to gameplay feature requests | |
name: Issue labeler | |
on: | |
issues: | |
types: [ opened ] | |
permissions: | |
contents: read | |
jobs: | |
label-component: | |
runs-on: ubuntu-latest | |
permissions: | |
# required for all workflows | |
issues: write | |
# only required for workflows in private repositories | |
actions: read | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: .github | |
- name: Parse issue form | |
uses: stefanbuck/github-issue-parser@v3 | |
id: issue-parser | |
with: | |
template-path: .github/ISSUE_TEMPLATE/feature_request.yml | |
- name: Advanced Issue Labeler | |
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3 | |
with: | |
issue-form: ${{ steps.issue-parser.outputs.jsonString }} | |
token: ${{ secrets.GITHUB_TOKEN }} |