diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..3ba13e0ce --- /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 000000000..f7f8337e1 --- /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/check-python-code.yaml b/.github/workflows/check-python-code.yaml index 5948c3826..5f8cb5a47 100644 --- a/.github/workflows/check-python-code.yaml +++ b/.github/workflows/check-python-code.yaml @@ -1,13 +1,10 @@ name: Check Python package code on: - pull_request: - paths: - - 'packages/**' - - 'pyproject.toml' - - 'uv.lock' - - 'Makefile' - - '.github/workflows/check-python-code.yaml' + # No path filter on pull_request: "All Python checks pass" is a required + # status check (see schema.yml in omf-github-terraform), and GitHub never + # satisfies a required check that a path filter prevents from running. + pull_request: {} push: branches: [main, dev] paths: diff --git a/.github/workflows/check-python-package-versions.yaml b/.github/workflows/check-python-package-versions.yaml index 1277c9dcf..0da6bcce4 100644 --- a/.github/workflows/check-python-package-versions.yaml +++ b/.github/workflows/check-python-package-versions.yaml @@ -1,9 +1,10 @@ name: Check Python package version numbers on: - pull_request: - paths: - - '**/pyproject.toml' + # No path filter: "check / Check Python package versions" is a required + # status check (see schema.yml in omf-github-terraform), and GitHub never + # satisfies a required check that a path filter prevents from running. + pull_request: {} permissions: contents: read 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 000000000..fface0036 --- /dev/null +++ b/.github/workflows/sync-issue-type-and-scope.yml @@ -0,0 +1,24 @@ +name: Sync issue Type and Scope + +on: + issues: + types: [opened] + +permissions: {} + +# One sync run per issue at a time; drop duplicate triggers. +concurrency: + group: ${{ github.workflow }}-${{ github.event.issue.number }} + cancel-in-progress: true + +jobs: + sync-fields: + name: Sync fields + runs-on: ubuntu-slim + permissions: + issues: write # Read the issue body and set the org-level Type, Scope, and Skillset fields. + 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 }} diff --git a/.github/workflows/test-schema.yaml b/.github/workflows/test-schema.yaml index 802607f41..3823562fc 100644 --- a/.github/workflows/test-schema.yaml +++ b/.github/workflows/test-schema.yaml @@ -9,11 +9,10 @@ on: - 'schema/**' - 'examples/**' - 'counterexamples/**' - pull_request: - paths: - - 'schema/**' - - 'examples/**' - - 'counterexamples/**' + # No path filter on pull_request: "Build" is a required status check (see + # schema.yml in omf-github-terraform), and GitHub never satisfies a + # required check that a path filter prevents from running. + pull_request: {} permissions: contents: read