diff --git a/.github/ISSUE_TEMPLATE/announcement.md b/.github/ISSUE_TEMPLATE/announcement.md deleted file mode 100644 index 9c4737158806..000000000000 --- a/.github/ISSUE_TEMPLATE/announcement.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Announcement -about: Submit an announcement -title: '' -labels: Announcement -assignees: '' - ---- - -**Breaking changes** - - -**Target date** - - -**The motivation for the changes** - - -**Possible impact** - - -**Virtual environments affected** -- [ ] Ubuntu 16.04 -- [ ] Ubuntu 18.04 -- [ ] Ubuntu 20.04 -- [ ] macOS 10.13 -- [ ] macOS 10.14 -- [ ] macOS 10.15 -- [ ] macOS 11 -- [ ] Windows Server 2016 R2 -- [ ] Windows Server 2019 - -**Mitigation ways** - diff --git a/.github/ISSUE_TEMPLATE/announcement.yml b/.github/ISSUE_TEMPLATE/announcement.yml new file mode 100644 index 000000000000..ccc3d202f5e9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/announcement.yml @@ -0,0 +1,48 @@ +name: Announcement +description: Submit an announcement +labels: [Announcement] +body: + - type: textarea + attributes: + label: Breaking changes + placeholder: Short description of the upcoming change + validations: + required: true + - type: textarea + attributes: + label: Target date + placeholder: Date of changes propagation start + validations: + required: true + - type: textarea + attributes: + label: The motivation for the changes + placeholder: Description of main reasons for this change + validations: + required: true + - type: textarea + attributes: + label: Possible impact + placeholder: Description of who might be impacted by this change + validations: + required: true + - type: checkboxes + attributes: + label: Virtual environments affected + options: + - label: Ubuntu 16.04 + - label: Ubuntu 18.04 + - label: Ubuntu 20.04 + - label: macOS 10.15 + - label: macOS 11 + - label: Windows Server 2016 + - label: Windows Server 2019 + validations: + required: true + - type: textarea + attributes: + label: Mitigation ways + description: Steps or options for impact mitigation + validations: + required: true + diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 8bcb55bf8d3a..000000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -name: Bug report -about: Submit a bug report -title: '' -labels: needs triage -assignees: '' - ---- - -**Description** -A clear and concise description of what the bug is, and why you consider it to be a bug. - -**Area for Triage**: - - -**Question, Bug, or Feature?**: - - -**Virtual environments affected** -- [ ] Ubuntu 16.04 -- [ ] Ubuntu 18.04 -- [ ] Ubuntu 20.04 -- [ ] macOS 10.15 -- [ ] macOS 11 -- [ ] Windows Server 2016 R2 -- [ ] Windows Server 2019 - -**Image version** - -Image version where you are experiencing the issue. - -**Expected behavior** -A description of what you expected to happen. - -**Actual behavior** -A description of what is actually happening. - -**Repro steps** -A description with steps to reproduce the issue. If your have a public example or repo to share, -please provide the link. - -1. Step 1 -2. Step 2 diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 000000000000..2631fd08e6fb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,55 @@ +name: Bug Report +description: Submit a bug report +labels: [needs triage] +body: + - type: textarea + attributes: + label: Description + description: A clear and concise description of what the bug is, and why you consider it to be a bug. + validations: + required: true + - type: checkboxes + attributes: + label: Virtual environments affected + options: + - label: Ubuntu 16.04 + - label: Ubuntu 18.04 + - label: Ubuntu 20.04 + - label: macOS 10.15 + - label: macOS 11 + - label: Windows Server 2016 + - label: Windows Server 2019 + validations: + required: true + - type: textarea + attributes: + label: Image version and build link + description: | + Image version where you are experiencing the issue. Where to find image version in build logs: + 1. For GitHub Actions, under "Set up job" -> "Virtual Environment" -> "Version". + 2. For Azure DevOps, under "Initialize job" -> "Virtual Environment" -> "Version". + + If you have a public example, please, provide a link to the failed build. + validations: + required: true + - type: input + attributes: + label: Is it regression? + description: If yes, please, provide the latest image version where the issue didn't persist, and a link to the latest successful build. + - type: textarea + attributes: + label: Expected behavior + description: A description of what you expected to happen. + - type: textarea + attributes: + label: Actual behavior + description: A description of what is actually happening. + - type: textarea + attributes: + label: Repro steps + placeholder: | + A description with steps to reproduce the issue. + 1. Step 1 + 2. Step 2 + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/tool-request.md b/.github/ISSUE_TEMPLATE/tool-request.md deleted file mode 100644 index 3474b99873d4..000000000000 --- a/.github/ISSUE_TEMPLATE/tool-request.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -name: Tool request -about: Request a new tool or update to a tool -title: Update/Add [tool name] -labels: feature request, needs triage -assignees: '' - ---- - -**Tool information** -- Tool name: -- Tool license: -- Add or update? -- Desired version: -- Approximate size: -- If this is an add request: - - Brief description of tool: - - URL for tool's homepage: - - Provide a basic test case to validate the tool's functionality: - -**Area for Triage**: - - -**Question, Bug, or Feature?**: - - -**Virtual environments affected** -- [ ] Ubuntu 16.04 -- [ ] Ubuntu 18.04 -- [ ] Ubuntu 20.04 -- [ ] macOS 10.15 -- [ ] macOS 11 -- [ ] Windows Server 2016 R2 -- [ ] Windows Server 2019 - -**Can this tool be installed during the build?** - - -**Tool installation time in runtime** - - -**Are you willing to submit a PR?** - diff --git a/.github/ISSUE_TEMPLATE/tool-request.yml b/.github/ISSUE_TEMPLATE/tool-request.yml new file mode 100644 index 000000000000..5973500fd5a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/tool-request.yml @@ -0,0 +1,75 @@ +name: Tool request +description: Request a new tool or update to a tool +title: Update/Add [tool name] +labels: [feature request, needs triage] +body: + - type: markdown + attributes: + value: "## Tool information" + - type: input + attributes: + label: Tool name + validations: + required: true + - type: input + attributes: + label: Tool license + description: Type of licensing for desired tool. + validations: + required: true + - type: checkboxes + attributes: + label: Add or update? + options: + - label: Add + - label: Update + - type: input + attributes: + label: Desired version + description: Let us know if you're requesting a specific version, dev/RC, whatever is latest, etc. + validations: + required: true + - type: input + attributes: + label: Approximate size + description: Leave blank if unknown. + - type: markdown + attributes: + value: "## If this is an add request" + - type: textarea + attributes: + label: Brief description of tool + - type: input + attributes: + label: URL for tool's homepage + - type: textarea + attributes: + label: Provide a basic test case to validate the tool's functionality. + description: This will be automatically formatted into code. + render: bash + - type: checkboxes + attributes: + label: Virtual environments affected + options: + - label: Ubuntu 16.04 + - label: Ubuntu 18.04 + - label: Ubuntu 20.04 + - label: macOS 10.15 + - label: macOS 11 + - label: Windows Server 2016 + - label: Windows Server 2019 + validations: + required: true + - type: textarea + attributes: + label: Can this tool be installed during the build? + description: If so, please provide a description with required steps. This will be automatically formatted into code. + render: bash + - type: input + attributes: + label: Tool installation time in runtime + description: How long does it take to install the tool? + - type: input + attributes: + label: Are you willing to submit a PR? + description: We accept contributions! \ No newline at end of file diff --git a/.github/workflows/issue-triager.yml b/.github/workflows/issue-triager.yml deleted file mode 100644 index 5fa072bd2097..000000000000 --- a/.github/workflows/issue-triager.yml +++ /dev/null @@ -1,78 +0,0 @@ -# Adapted from: https://github.com/microsoft/azure-pipelines-tasks/blob/master/.github/workflows/blank.yml -# This action labels and assigns newly opened issues - -name: Issue triager -on: - issues: - types: [opened] - -jobs: - label: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - - uses: damccorm/tag-ur-it@master - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: "./triage-rules.yml" - - - uses: actions/github-script@v4 - id: check-if-spammy - name: Check if new issue is spammy - with: - github-token: ${{secrets.GITHUB_TOKEN}} - result-encoding: string - script: | - const issue = context.payload.issue; - const minTitleLength = 2; - const titleLength = issue.title.trim().split(' ').length; - const isEmptyToolRequest = !!(issue.title.includes('[tool name]') && issue.body.includes('Tool name: ')); - - if (isEmptyToolRequest || titleLength < minTitleLength) { - await github.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: issue.number, - body: "This issue appears to have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!" - }); - - await github.issues.update({ - owner: context.repo.owner, - repo: context.repo.repo, - labels: ['Invalid'], - issue_number: issue.number, - state: 'closed' - }); - - return true; - } - - return false; - - - if: ${{ steps.check-if-spammy.outputs.result == 'false' }} - uses: actions/github-script@v4 - name: Assign labels to issue - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const issueLabels = await github.issues.listLabelsOnIssue({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo - }); - - const isAnnouncement = issueLabels.data && issueLabels.data - .map(label => label.name) - .includes('Announcement'); - - if (!isAnnouncement) { - github.issues.addLabels({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - labels: ['needs triage'] - }) - } \ No newline at end of file