Skip to content

Add a tag to the ore indicators #14

Add a tag to the ore indicators

Add a tag to the ore indicators #14

# Manages labels on new issues
name: Issue Labels
on:
workflow_dispatch:
inputs:
issue_body:
description: "The issue body"
required: false
type: string
issues:
types: [opened]
permissions:
contents: read
jobs:
labels:
runs-on: ubuntu-latest
permissions:
issues: write # needed to utilize advanced-issue-labeler
strategy:
matrix:
template: [ 000-bug-report.yml, 001-feature-request.yml ]
steps:
- uses: actions/checkout@v4
- name: Parse issue form
uses: stefanbuck/github-issue-parser@v3
id: issue-parser
with:
issue-body: ${{ github.event.issue?.body ?? inputs.issue_body }}

Check failure on line 32 in .github/workflows/manage-issue-labels.yml

View workflow run for this annotation

GitHub Actions / Issue Labels

Invalid workflow file

The workflow is not valid. .github/workflows/manage-issue-labels.yml (Line: 32, Col: 23): Unexpected symbol: 'issue?'. Located at position 14 within expression: github.event.issue?.body ?? inputs.issue_body
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }}
- name: Set labels based on mc-version field
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
template: ${{ matrix.template }}
token: ${{ secrets.GITHUB_TOKEN }}