From 1ef88114c07cb5079a9fda19439e501252923081 Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Mon, 19 Dec 2022 21:20:14 -0800 Subject: [PATCH 1/2] Add REUSE GitHub Action --- .github/DISCUSSION_TEMPLATE/setup.yml | 8 ++++++++ .github/workflows/reuse.yml | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/reuse.yml diff --git a/.github/DISCUSSION_TEMPLATE/setup.yml b/.github/DISCUSSION_TEMPLATE/setup.yml index 3e35f62..f26c827 100644 --- a/.github/DISCUSSION_TEMPLATE/setup.yml +++ b/.github/DISCUSSION_TEMPLATE/setup.yml @@ -1,3 +1,11 @@ +# +# This source file is part of the Stanford CS342 - Building for Digital Health class +# +# SPDX-FileCopyrightText: 2022 Stanford University +# +# SPDX-License-Identifier: MIT +# + title: "[Setup] " labels: ["Setup"] body: diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 0000000..6a8cee7 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,21 @@ +# +# This source file is part of the Stanford CS342 - Building for Digital Health class +# +# SPDX-FileCopyrightText: 2022 Stanford University +# +# SPDX-License-Identifier: MIT +# + +name: REUSE Compliance Check + +on: + pull_request: + +jobs: + reuse: + name: REUSE Compliance Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1 From f9cd45468ed6c756c1e5065337ae3a71300df4a5 Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Mon, 19 Dec 2022 21:28:54 -0800 Subject: [PATCH 2/2] Update setup.yml Signed-off-by: Paul Schmiedmayer --- .github/DISCUSSION_TEMPLATE/setup.yml | 55 ++++----------------------- 1 file changed, 8 insertions(+), 47 deletions(-) diff --git a/.github/DISCUSSION_TEMPLATE/setup.yml b/.github/DISCUSSION_TEMPLATE/setup.yml index f26c827..fb9f3d2 100644 --- a/.github/DISCUSSION_TEMPLATE/setup.yml +++ b/.github/DISCUSSION_TEMPLATE/setup.yml @@ -6,51 +6,12 @@ # SPDX-License-Identifier: MIT # -title: "[Setup] " -labels: ["Setup"] body: - - type: markdown - attributes: - value: | - This form guides you through the process of getting help with setting up your development environment for the class. - - type: textarea - id: description - attributes: - label: Description - description: Please provide a description of the challenge you encountered. - placeholder: A clear and concise description of the problem you are having. Please include screenshots or error messages. - validations: - required: true - - type: textarea - id: reproduction - attributes: - label: Reproduction - description: Please provide a description of how to reproduce the problem you are facing. - placeholder: What steps did you follow to get the problem? Can you reproduce it after a restart and trying the same steps a second time? - validations: - required: true - - type: textarea - id: expectedbehavior - attributes: - label: Expected behavior - description: Please provide a clear and concise description of what you expected to happen. - placeholder: A clear and concise description of what you expected to happen. - validations: - required: true - - type: textarea - id: additionalcontext - attributes: - label: Additional context - description: | - Please provide any additional context that might be relevant to your setup problem. - Please share the exact version of your device, your macOS version, Xcode version, and all information that would be relevant to help you. - Feel free to share a screenshot of your [system information panel](https://support.apple.com/guide/mac-help/get-system-information-about-your-mac-syspr35536/mac) as well as your [Xcode version](https://help.apple.com/simulator/mac/11.0/index.html?localePath=en.lproj#/dev6e3b8f087). - placeholder: Any additional context that might be relevant to your problem. - - type: checkboxes - id: terms - attributes: - label: Code of Conduct - description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md) - options: - - label: I agree to follow this project's Code of Conduct and Contributing Guidelines - required: true +- type: input + id: suggestion + attributes: + label: Suggestion + description: "How might we make this project better?" + placeholder: "Adding a CODE_OF_CONDUCT.md file would be a great idea." + validations: + required: true