From 7d940bdf994a85934154845dc3c31ffd1c94d21d Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 10 Mar 2023 00:01:43 +0900 Subject: [PATCH] Add `.github/ISSUE_TEMPLATE/config.yml` After merging this PR, the "Report a security vulnerability" button will appear in "New issue" screen. Demo: https://github.com/containerd/nerdctl/issues Signed-off-by: Akihiro Suda --- .github/ISSUE_TEMPLATE/bug_report.yaml | 54 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 14 +++++++ SECURITY.md | 1 + 3 files changed, 69 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 00000000000..3af44b54025 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,54 @@ +# Forked from https://github.com/containerd/nerdctl/blob/v1.2.1/.github/ISSUE_TEMPLATE/bug_report.yaml +name: Bug report +description: Create a bug report to help improve runc +labels: kind/unconfirmed-bug-claim +body: + - type: markdown + attributes: + value: | + If you are reporting a new issue, make sure that we do not have any duplicates + already open. You can ensure this by searching the issue list for this + repository. If there is a duplicate, please close your issue and add a comment + to the existing issue instead. + + When reporting a security issue, do not create an issue or file a pull request on GitHub. + See [`opencontainers/.github/SECURITY.md`](https://github.com/opencontainers/.github/blob/master/SECURITY.md). + + - type: textarea + attributes: + label: Description + description: | + Briefly describe the problem you are having in a few paragraphs. + validations: + required: true + + - type: textarea + attributes: + label: Steps to reproduce the issue + value: | + 1. + 2. + 3. + + - type: textarea + attributes: + label: Describe the results you received and expected + validations: + required: true + + - type: textarea + attributes: + label: What version of runc are you using? + placeholder: runc --version + validations: + required: true + + - type: textarea + attributes: + label: Host OS information + placeholder: cat /etc/os-release + + - type: textarea + attributes: + label: Host kernel information + placeholder: uname -a diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..857778b7224 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,14 @@ +# Forked from https://github.com/containerd/nerdctl/blob/main/.github/ISSUE_TEMPLATE/config.yml +blank_issues_enabled: true +contact_links: + - name: Ask a question (GitHub Discussions) + url: https://github.com/opencontainers/runc/discussions + about: | + Please do not submit "a bug report" for asking a question. + In most cases, GitHub Discussions is the best place to ask a question. + If you are not sure whether you are going to report a bug or ask a question, + please consider asking in GitHub Discussions first. + - name: Slack (opencontainers.slack.com) + url: https://communityinviter.com/apps/opencontainers/join-the-oci-community + - name: Mailing list + url: https://groups.google.com/a/opencontainers.org/forum/#!forum/dev diff --git a/SECURITY.md b/SECURITY.md index 61e37bc568a..b2b58c451c8 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,3 +1,4 @@ # Security +When reporting a security issue, do not create an issue or file a pull request on GitHub. The reporting process and disclosure communications are outlined [here](https://github.com/opencontainers/org/blob/master/SECURITY.md).