Skip to content

Commit

Permalink
feat(apbx): check all yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jun 7, 2024
1 parent 76cffc9 commit 8a4d96f
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 115 deletions.
132 changes: 67 additions & 65 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,77 +1,79 @@
name: Bug report
description: Create a bug report to help us improve Atlas.
title: "[BUG] - "

labels:
- bug
title: "[BUG] - "
body:
- type: checkboxes
attributes:
label: Before continuing...
description: Please ensure you meet the following criteria. If not, the maintainers reserve the right to close and lock your issue.
options:
- label: "I agree to follow Atlas' [Code of Conduct](https://github.com/Atlas-OS/.github/blob/main/profile/CODE_OF_CONDUCT.md)"
required: true
- label: "I have searched our [issue tracker](https://github.com/Atlas-OS/Atlas/issues?q=is%3Aissue) to verify that the issue hasn't been reported already"
required: true
- label: "I have searched the [Atlas documentation](https://docs.atlasos.net) beforehand for a solution"
required: true
- label: "I am on the latest version of Atlas, and didn't do an unsupported upgrade"
required: true

- type: textarea
attributes:
label: Description
description: A short description of the bug.
validations:
body:
- type: checkboxes
attributes:
label: Before continuing...
description: Please ensure you meet the following criteria. If not, the maintainers reserve the right to close and lock your issue.
options:
- label: "I agree to follow Atlas' [Code of Conduct](https://github.com/Atlas-OS/.github/blob/main/profile/CODE_OF_CONDUCT.md)"
required: true

- type: textarea
attributes:
label: Steps to reproduce
description: The steps required to reproduce this bug (add screenshots if applicable).
placeholder: |
1. [First step] (Screenshot 1)
2. [Second step] (Screenshot 2)
3. [And so on...] (Screenshot X)
validations:
- label: "I have searched our [issue tracker](https://github.com/Atlas-OS/Atlas/issues?q=is%3Aissue) to verify that the issue hasn't been reported already"
required: true

- type: textarea
attributes:
label: Expected behavior
description: What you expect to happen (add screenshots if applicable).
validations:
- label: "I have searched the [Atlas documentation](https://docs.atlasos.net) beforehand for a solution"
required: true

- type: textarea
attributes:
label: Actual behavior
description: What actually happened (add screenshots if applicable).
validations:
- label: "I am on the latest version of Atlas, and didn't do an unsupported upgrade"
required: true

- type: dropdown
attributes:
label: Atlas Edition
options:
- Atlas for Windows 10 22H2
- Atlas for Windows 11 23H2
validations:
required: true
- type: textarea
attributes:
label: Description
description: A short description of the bug.
validations:
required: true

- type: textarea
attributes:
label: Desktop information
description: Your hardware specification is needed for us to define the problem.
placeholder: |
- Processor [include brand and specs]
- RAM [include size and generation]
- Storage [include size, brand, and type]
- GPU [include brand, specs, driver version]
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
description: The steps required to reproduce this bug (add screenshots if applicable).
placeholder: |
1. [First step] (Screenshot 1)
2. [Second step] (Screenshot 2)
3. [And so on...] (Screenshot X)
validations:
required: true

- type: textarea
attributes:
label: Expected behavior
description: What you expect to happen (add screenshots if applicable).
validations:
required: true

- type: textarea
attributes:
label: Actual behavior
description: What actually happened (add screenshots if applicable).
validations:
required: true

- type: dropdown
attributes:
label: Atlas Edition
options:
- Atlas for Windows 10 22H2
- Atlas for Windows 11 23H2
validations:
required: true

- type: textarea
attributes:
label: Desktop information
description: Your hardware specification is needed for us to define the problem.
placeholder: |
- Processor [include brand and specs]
- RAM [include size and generation]
- Storage [include size, brand, and type]
- GPU [include brand, specs, driver version]
validations:
required: true

- type: textarea
attributes:
label: Additional content
description: Anything you want to add.
- type: textarea
attributes:
label: Additional content
description: Anything you want to add.
94 changes: 48 additions & 46 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,58 @@
name: Feature request
description: Create a feature request to help us improve Atlas.
title: "[FEATURE] - "

labels:
- enhancement
title: "[FEATURE] - "
body:
- type: checkboxes
attributes:
label: Before continuing...
description: Please ensure you meet the following criteria. If not, the maintainers reserve the right to close and lock your issue.
options:
- label: "I agree to follow Atlas' [Code of Conduct](https://github.com/Atlas-OS/.github/blob/main/profile/CODE_OF_CONDUCT.md)"
required: true
- label: "I have searched our [issue tracker](https://github.com/Atlas-OS/Atlas/issues?q=is%3Aissue) to verify that the issue hasn't been reported already"
required: true
- label: "I have searched the [Atlas documentation](https://docs.atlasos.net) beforehand for a solution"
required: true
- label: "I am on the latest version of Atlas, and didn't do an unsupported upgrade"
required: true

- type: dropdown
attributes:
label: What is your feature request regarding to?
options:
- Atlas Playbook
- Other (submit it in https://forum.atlasos.net)
validations:
body:
- type: checkboxes
attributes:
label: Before continuing...
description: Please ensure you meet the following criteria. If not, the maintainers reserve the right to close and lock your issue.
options:
- label: "I agree to follow Atlas' [Code of Conduct](https://github.com/Atlas-OS/.github/blob/main/profile/CODE_OF_CONDUCT.md)"
required: true

- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
placeholder: |
e.g. I always wanted Atlas to...
validations:
- label: "I have searched our [issue tracker](https://github.com/Atlas-OS/Atlas/issues?q=is%3Aissue) to verify that the issue hasn't been reported already"
required: true

- type: textarea
attributes:
label: Describe the solution you would like.
placeholder: |
e.g. I would like Atlas to add...
validations:
- label: "I have searched the [Atlas documentation](https://docs.atlasos.net) beforehand for a solution"
required: true

- type: textarea
attributes:
label: Describe alternatives you have considered.
description: If you have found a temporary fix, list it here.
validations:
- label: "I am on the latest version of Atlas, and didn't do an unsupported upgrade"
required: true

- type: textarea
attributes:
label: Additional context.
description: Add any other context or screenshots about the feature request here.
- type: dropdown
attributes:
label: What is your feature request regarding to?
options:
- Atlas Playbook
- Other (submit it in https://forum.atlasos.net)
validations:
required: true

- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
placeholder: |
e.g. I always wanted Atlas to...
validations:
required: true

- type: textarea
attributes:
label: Describe the solution you would like.
placeholder: |
e.g. I would like Atlas to add...
validations:
required: true

- type: textarea
attributes:
label: Describe alternatives you have considered.
description: If you have found a temporary fix, list it here.
validations:
required: true

- type: textarea
attributes:
label: Additional context.
description: Add any other context or screenshots about the feature request here.
2 changes: 1 addition & 1 deletion .github/workflows/apbx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
if: env.runSxsc == 'true'

- name: Validate YAML files
run: 'yamllint -d "{extends: relaxed, rules: {empty-lines: disable, line-length: disable, new-line-at-end-of-file: disable, trailing-spaces: disable, new-lines: {type: platform}}}" src\playbook\.'
run: 'yamllint -d "{extends: relaxed, rules: {empty-lines: disable, line-length: disable, new-line-at-end-of-file: disable, trailing-spaces: disable, new-lines: {type: platform}}}" .'

- name: Create playbook (ZIP/APBX password is malte)
id: create-pb
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
jobs:
filter:
permissions:
contents: read
pull-requests: write
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v4

0 comments on commit 8a4d96f

Please sign in to comment.