From 0dca9c47e739e9374c363f897a68df34909c1de3 Mon Sep 17 00:00:00 2001 From: Joscha <34318751+josxha@users.noreply.github.com> Date: Mon, 19 Feb 2024 23:36:04 +0100 Subject: [PATCH] fix issue opened ci --- .github/ISSUE_TEMPLATE/1-bug.yml | 15 +++++---------- .github/ISSUE_TEMPLATE/2-feature.yml | 2 +- .github/workflows/issue_opened.yml | 8 ++++---- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml index 1db2e62..a29f5d8 100644 --- a/.github/ISSUE_TEMPLATE/1-bug.yml +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -9,13 +9,13 @@ body: label: Package description: For what is your bug report? options: + - "other" - "flutter_map_cache" - "flutter_map_compass" - "flutter_map_mbtiles" - "flutter_map_pmtiles" - "vector_map_tiles_mbtiles" - "vector_map_tiles_pmtiles" - - "other" validations: required: true - type: textarea @@ -61,16 +61,11 @@ body: ``` validations: required: true - - type: checkboxes + - type: dropdown id: platform attributes: label: Platforms description: On what platforms does the bug happen? - options: - - label: All - - label: Android - - label: iOS - - label: Web - - label: Windows - - label: MacOS - - label: Linux \ No newline at end of file + options: [ "all", "android", "iOS", "web", "windows", "macOS", "linux" ] + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2-feature.yml b/.github/ISSUE_TEMPLATE/2-feature.yml index 2392c81..1921170 100644 --- a/.github/ISSUE_TEMPLATE/2-feature.yml +++ b/.github/ISSUE_TEMPLATE/2-feature.yml @@ -9,13 +9,13 @@ body: label: Package description: For what is your feature request? options: + - "other" - "flutter_map_cache" - "flutter_map_compass" - "flutter_map_mbtiles" - "flutter_map_pmtiles" - "vector_map_tiles_mbtiles" - "vector_map_tiles_pmtiles" - - "other" validations: required: true - type: textarea diff --git a/.github/workflows/issue_opened.yml b/.github/workflows/issue_opened.yml index 33f0a0a..1e28364 100644 --- a/.github/workflows/issue_opened.yml +++ b/.github/workflows/issue_opened.yml @@ -19,11 +19,11 @@ jobs: id: issue-parser-bug with: template-path: .github/ISSUE_TEMPLATE/bug.yml - - name: Set labels based on scope field + - name: Set labels based on package field uses: redhat-plumbers-in-action/advanced-issue-labeler@v3 with: issue-form: ${{ steps.issue-parser.outputs.jsonString }} - section: scope + section: package block-list: | other token: ${{ secrets.GITHUB_TOKEN }} @@ -33,11 +33,11 @@ jobs: id: issue-parser-feature with: template-path: .github/ISSUE_TEMPLATE/bug.yml - - name: Set labels based on scope field + - name: Set labels based on package field uses: redhat-plumbers-in-action/advanced-issue-labeler@v3 with: issue-form: ${{ steps.issue-parser.outputs.jsonString }} - section: scope + section: package block-list: | other token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file