-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use softprops/action-gh-release for creating a release * add issue templates * update dependabot settings * update bug issue template * use secret token
- Loading branch information
Showing
5 changed files
with
133 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: 🐞 Bug Report | ||
description: Create a report to help us improve | ||
title: "[Bug]: <title>" | ||
labels: ["bug"] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Requirements | ||
options: | ||
- label: I checked the troubleshooting section in the README to verify that I have the latest TrashCard version. | ||
required: true | ||
- label: I did a search to see if there is a similar issue or if a pull request is open. | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Current Behavior | ||
description: A concise description of what you're experiencing. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A concise description of what you expected to happen. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. In this environment... | ||
2. With this config... | ||
3. Run '...' | ||
4. See error... | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Context | ||
description: | | ||
If your issue is about a certain type of entity, please provide the entity state/attribute. You can find it in the [developer tools](https://my.home-assistant.io/redirect/developer_states/). Otherwise, you can leave this section blank. | ||
value: | | ||
YAML state | ||
```yaml | ||
``` | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Environment | ||
description: | | ||
examples: | ||
- **Brower**: Chrome | ||
- **HA Version**: 2022.11.0 | ||
- **TrashCard**: 1.3.0 | ||
value: | | ||
- Browser: | ||
- HA Version: | ||
- TrashCard: | ||
render: markdown | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Anything else? | ||
description: | | ||
Links? References? Anything that will give us more context about the issue you are encountering! | ||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: 🚀 Feature request | ||
description: Suggest an idea for this project | ||
title: "[Feature]: <title>" | ||
labels: ["feature"] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Requirements | ||
options: | ||
- label: I have updated Mushroom to the latest available version | ||
required: true | ||
- label: I did a search to see if there is a similar issue or if a pull request is open. | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Is your feature request related to a problem? | ||
description: > | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: > | ||
A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: > | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: > | ||
Add any other context or screenshots about the feature request. | ||
- type: markdown | ||
attributes: | ||
value: > | ||
Thanks for contributing 🎉 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
name: Release | ||
|
||
on: workflow_dispatch | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 18.x | ||
- name: Install dependencies | ||
run: | | ||
npm install | ||
- name: Building | ||
run: | | ||
npm run build | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SEMANTIC_TOKEN }} | ||
run: npx semantic-release | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install | ||
run: npm ci | ||
- name: Build | ||
run: npm run build | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
draft: true | ||
generate_release_notes: true | ||
token: ${{ secrets.HASSIO_RELEASE_ACTION }} | ||
files: dist/*.js |