Skip to content

Commit

Permalink
Merge branch 'main' into requirements-change
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneofghosts authored Nov 20, 2024
2 parents e95b4d2 + 9867151 commit faecb54
Show file tree
Hide file tree
Showing 7 changed files with 151 additions and 2 deletions.
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Bug Report
description: Report an issue with the code.
labels: ["bug" , "Needs Review"]
body:

- type: textarea
id: describe-the-bug
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is and how to repoduce it.
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
placeholder: |
Example:
"This happened..."
validations:
required: true

- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: Explain what actually happens.
placeholder: |
Example:
"This happened instead..."
validations:
required: true

- type: textarea
id: os-details
attributes:
label: Operating System Information
validations:
required: true

- type: textarea
id: log-info
attributes:
label: Log Output
description: Include any log output within the code blocks.
value: |
```
```
- type: checkboxes
id: acknowledgements
attributes:
label: Troubleshooting steps
description: Before reporting an issue follow these troubleshooting steps to see if it solves the issue.
options:
- label: This issue is related to the self-hosting code and not an API issue.
required: true
- label: I have read through the [README](https://github.com/Pirate-Weather/pirate-weather-code/blob/main/README.md) before opening this issue.
required: true
- label: I have written an informative title.
required: true
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://github.com/Pirate-Weather/pirate-weather-code/discussions
about: Please ask and answer questions here.
- name: API Repository
url: https://github.com/Pirate-Weather/pirateweather/
about: Report issues with and request features to the API here.
- name: Home Assistant Repository
url: https://github.com/Pirate-Weather/pirate-weather-ha
about: Please report any issues with the Home Assistant integration here.
- name: Translations Repository
url: https://github.com/Pirate-Weather/translations
about: Please report any issues with the translations used in the API here.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Documentation
description: Report an issue with the self-hosting documentation.
labels: ["documentation", "Needs Review"]
body:

- type: textarea
id: describe-the-issue
attributes:
label: Describe the issue
validations:
required: true

- type: checkboxes
id: acknowledgements
attributes:
label: Acknowledgements
options:
- label: This issue is related to the self-hosting code and not an API issue.
required: true
- label: I have read through the [README](https://github.com/Pirate-Weather/pirate-weather-code/blob/main/README.md) before opening this issue.
required: true
- label: I have written an informative title.
required: true
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/general.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: General Issue
description: Report an issue which doesn't fit in with any of the other categories.
labels: ["Needs Review"]
body:

- type: textarea
id: describe-the-issue
attributes:
label: Describe the issue
validations:
required: true

- type: checkboxes
id: acknowledgements
attributes:
label: Acknowledgements
options:
- label: This issue is related to the self-hosting code and not an API issue.
required: true
- label: I have read through the [README](https://github.com/Pirate-Weather/pirate-weather-code/blob/main/README.md) before opening this issue.
required: true
- label: I have written an informative title.
required: true
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Describe the change

## Type of change

- [ ] Bugfixes to existing code
- [ ] Breaking change
- [ ] Code quality improvements to existing code or addition of tests
- [ ] Documentation Updates

## Checklist

- This pull request fixes issue: fixes #
- [ ] Code builds locally. **Your pull request won't be merged unless tests pass**
- [ ] Code has been formatted using ruff
- [ ] I have signed the CLA agreement
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
groups:
non-major-versions: # the name of the group
update-types: # the key used to specify the semver level to include in the group
- "minor" # an array, possible values being minor, patch and major
- "patch"
open-pull-requests-limit: 100
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
non-major-versions: # the name of the group
update-types: # the key used to specify the semver level to include in the group
- "minor" # an array, possible values being minor, patch and major
- "patch"
open-pull-requests-limit: 100
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]" # v4.2.2
uses: "actions/[email protected]"

- name: "Set up Python"
uses: actions/[email protected]
Expand All @@ -32,6 +32,6 @@ jobs:
run: ruff check --output-format=github . --fix --exit-zero

- name: "Auto Commit"
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
uses: stefanzweifel/git-auto-commit-action@5.0.1
with:
commit_message: 'style fixes by ruff'

0 comments on commit faecb54

Please sign in to comment.