debugging github issues workflow

This commit is contained in:
Joey Orlando 2023-06-15 15:42:14 +02:00
parent a45f66a353
commit 0b926f8721
No known key found for this signature in database
GPG key ID: 469E88366B17F644
3 changed files with 13 additions and 11 deletions

View file

@ -60,7 +60,8 @@ body:
- type: dropdown
id: product-area
attributes:
label: Which Grafana OnCall product area(s) best relate to the issue you're facing?
label: Product Area
description: Which Grafana OnCall product area(s) best relate to the issue you're facing?
multiple: true
options:
- Alert Flow & Configuration

View file

@ -25,7 +25,8 @@ body:
- type: dropdown
id: product-area
attributes:
label: Which Grafana OnCall product area(s) best relate to the feature you're proposing?
label: Product Area
description: Which Grafana OnCall product area(s) best relate to the issue you're facing?
multiple: true
options:
- Alert Flow & Configuration

View file

@ -57,7 +57,7 @@ jobs:
- name: Map mobile app product area to appropriate assignees
uses: actions-ecosystem/action-add-assignees@v1
if: contains(steps.issue-form-values.outputs.issueparser_product-area, 'Mobile App')
if: contains(steps.issue-form-values.outputs.issueparser_product_area, 'Mobile App')
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignees: |
@ -70,11 +70,11 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/expressions#literals:~:text=GitHub%20offers%20ternary%20operator%20like%20behaviour%20that%20you%20can%20use%20in%20expressions
with:
labels: |
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Alert Flow & Configuration') && 'part:alert flow & configuration' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Auth') && 'part:auth/teams' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Chatops') && 'part:chatops' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Helm') && 'part:deployment/helm' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Mobile App') && 'part:mobile' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Schedules') && 'part:schedules' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Terraform') && 'part:API/Terraform' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product-area, 'Other') && 'no info or need to discuss' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Alert Flow & Configuration') && 'part:alert flow & configuration' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Auth') && 'part:auth/teams' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Chatops') && 'part:chatops' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Helm') && 'part:deployment/helm' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Mobile App') && 'part:mobile' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Schedules') && 'part:schedules' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Terraform') && 'part:API/Terraform' || '' }}
${{ contains(steps.issue-form-values.outputs.issueparser_product_area, 'Other') && 'no info or need to discuss' || '' }}