diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/overture.yaml b/.github/ISSUE_TEMPLATE/overture.yaml new file mode 100644 index 00000000..f7f8337e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/overture.yaml @@ -0,0 +1,47 @@ +name: Overture +description: General issue for work tracked in the Overture project. +projects: ["OvertureMaps/84"] +body: + - type: dropdown + id: type + attributes: + label: Type + description: What kind of work is this? Used to populate the organization-level `Type` field during triage. + options: + - Task + - Bug + - Agenda + validations: + required: true + - type: dropdown + id: scope + attributes: + label: Scope + description: Primary theme or platform impacted. Used to populate the organization-level `Scope` field during triage. + options: + - Addresses + - Base + - Buildings + - Divisions + - Places + - Transportation + - Multi-theme or Platform + validations: + required: true + - type: dropdown + id: skillset + attributes: + label: Skillset + description: Primary skill needed to complete this task. Used to populate the organization-level `Skillset` field during triage. + options: + - data analysis + - data science + - dev ops + - engineering + - type: textarea + id: description + attributes: + label: Description + placeholder: Describe what this issue is trying to accomplish (what), context (why), constraints, acceptance criteria, design details (how), and testing + validations: + required: true diff --git a/.github/workflows/sync-issue-type-and-scope.yml b/.github/workflows/sync-issue-type-and-scope.yml new file mode 100644 index 00000000..e3108e14 --- /dev/null +++ b/.github/workflows/sync-issue-type-and-scope.yml @@ -0,0 +1,25 @@ +--- +name: Sync issue Type and Scope + +on: + issues: + types: [opened] + +# One sync run per issue at a time; drop duplicate triggers. +concurrency: + group: sync-issue-type-scope-${{ github.event.issue.number }} + cancel-in-progress: true + +permissions: {} + +jobs: + sync-fields: + name: Sync Fields + runs-on: ubuntu-slim + permissions: + issues: write # for the sync action to set org-level Type, Scope, and Skillset + steps: + - name: Sync Type and Scope from form answers + uses: OvertureMaps/workflows/.github/actions/sync-issue-fields@main # zizmor: ignore[unpinned-uses] intentionally track main + with: + github-token: ${{ secrets.GITHUB_TOKEN }}