Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add REUSE GitHub Action #1

Merged
merged 2 commits into from
Dec 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 16 additions & 47 deletions .github/DISCUSSION_TEMPLATE/setup.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,17 @@
title: "[Setup] "
labels: ["Setup"]
#
# This source file is part of the Stanford CS342 - Building for Digital Health class
#
# SPDX-FileCopyrightText: 2022 Stanford University
#
# SPDX-License-Identifier: MIT
#

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
21 changes: 21 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -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