Updated actions
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"dependencyDashboard": true,
|
||||
"labels": ["dependencies", "no-stale"],
|
||||
"commitMessagePrefix": "⬆️",
|
||||
"commitMessageTopic": "{{depName}}",
|
||||
"packageRules": [
|
||||
{
|
||||
"matchManagers": ["github-actions"],
|
||||
"addLabels": ["github_actions"],
|
||||
"rangeStrategy": "pin"
|
||||
},
|
||||
{
|
||||
"matchManagers": ["github-actions"],
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -72,9 +72,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Update package.json version
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Update package.json version
|
||||
uses: jossef/action-set-json-field@v2.1
|
||||
with:
|
||||
file: grott-current/config.json
|
||||
@@ -85,4 +85,3 @@ jobs:
|
||||
with:
|
||||
default_author: github_actions
|
||||
message: 'edge: bumping release edge-${{ github.run_id }}'
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
name: Sync labels
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
schedule:
|
||||
- cron: "34 5 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
workflows:
|
||||
uses: hassio-addons/workflows/.github/workflows/labels.yaml@main
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
name: Lint
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
workflows:
|
||||
uses: hassio-addons/workflows/.github/workflows/repository-lint.yaml@main
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
name: PR Labels
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- labeled
|
||||
- unlabeled
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
workflows:
|
||||
uses: hassio-addons/workflows/.github/workflows/pr-labels.yaml@main
|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
name: Workflows CI
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint-shellcheck:
|
||||
name: Shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: ⤵️ Check out code from GitHub
|
||||
uses: actions/checkout@v3
|
||||
- name: 🚀 Run Shellcheck
|
||||
uses: ludeeus/action-shellcheck@2.0.0
|
||||
env:
|
||||
SHELLCHECK_OPTS: -s bash
|
||||
|
||||
lint-yamllint:
|
||||
name: YAMLLint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: ⤵️ Check out code from GitHub
|
||||
uses: actions/checkout@v3
|
||||
- name: 🚀 Run YAMLLint
|
||||
uses: frenck/action-yamllint@v1.4
|
||||
|
||||
lint-prettier:
|
||||
name: Prettier
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: ⤵️ Check out code from GitHub
|
||||
uses: actions/checkout@v3
|
||||
- name: 🚀 Run Prettier
|
||||
uses: creyD/prettier_action@v4.3
|
||||
with:
|
||||
prettier_options: --write **/*.{json,js,md,yaml}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
configuration:
|
||||
verbose:
|
||||
name: Verbose mode
|
||||
description: Enable the verbose mode. Useful for debugging
|
||||
retain:
|
||||
name: Activate MQTT retain
|
||||
description: This allow to keep the values between reboot, prevent showing sensor values as unknown
|
||||
gminrecl:
|
||||
name: Minimum record length
|
||||
description: The minimum packet length to be treated
|
||||
grott_mqtt:
|
||||
name: Enable grott MQTT
|
||||
description: Allow grott to send MQTT messages. If your are using the grott_ha extension, you don't need this. If you are using the grott integration,m you need to enable it.
|
||||
ginvtype:
|
||||
name: Inverter type
|
||||
description: "For changing the layout used for decoding (ex: sph, spf or tl3). Keep it on default if using inverter map."
|
||||
ginvtypemap:
|
||||
name: Inverter mapping
|
||||
description: 'An inverter mapping in the form {"SERIAL": "type"} e.g.: for an SPH6000 with serial "NWO00415E3" : {"NWO00415E3": "sph"}'
|
||||
ha_plugin:
|
||||
name: Home Assistant plugin
|
||||
description: "Enable the Home Assistant plugin. This will send the data to Home Assistant via the grott HA plugin. Can be disabled if you are using the grott integration."
|
||||
|
||||
network:
|
||||
5279/TCP: This is the port used by grott to receive datalogger information.
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
configuration:
|
||||
verbose:
|
||||
name: Verbose mode
|
||||
description: Enable the verbose mode. Useful for debugging
|
||||
retain:
|
||||
name: Activate MQTT retain
|
||||
description: This allow to keep the values between reboot, prevent showing sensor values as unknown
|
||||
gminrecl:
|
||||
name: Minimum record length
|
||||
description: The minimum packet length to be treated
|
||||
grott_mqtt:
|
||||
name: Enable grott MQTT
|
||||
description: Allow grott to send MQTT messages. If your are using the grott_ha extension, you don't need this. If you are using the grott integration,m you need to enable it.
|
||||
ginvtype:
|
||||
name: Inverter type
|
||||
description: "For changing the layout used for decoding (ex: sph, spf or tl3). Keep it on default if using inverter map."
|
||||
ginvtypemap:
|
||||
name: Inverter mapping
|
||||
description: 'An inverter mapping in the form {"SERIAL": "type"} e.g.: for an SPH6000 with serial "NWO00415E3" : {"NWO00415E3": "sph"}'
|
||||
ha_plugin:
|
||||
name: Home Assistant plugin
|
||||
description: "Enable the Home Assistant plugin. This will send the data to Home Assistant via the grott HA plugin. Can be disabled if you are using the grott integration."
|
||||
|
||||
network:
|
||||
5279/TCP: This is the port used by grott to receive datalogger information.
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
configuration:
|
||||
verbose:
|
||||
name: Verbose mode
|
||||
description: Enable the verbose mode. Useful for debugging
|
||||
retain:
|
||||
name: Activate MQTT retain
|
||||
description: This allow to keep the values between reboot, prevent showing sensor values as unknown
|
||||
gminrecl:
|
||||
name: Minimum record length
|
||||
description: The minimum packet length to be treated
|
||||
grott_mqtt:
|
||||
name: Enable grott MQTT
|
||||
description: Allow grott to send MQTT messages. If your are using the grott_ha extension, you don't need this. If you are using the grott integration,m you need to enable it.
|
||||
ginvtype:
|
||||
name: Inverter type
|
||||
description: "For changing the layout used for decoding (ex: sph, spf or tl3). Keep it on default if using inverter map."
|
||||
ginvtypemap:
|
||||
name: Inverter mapping
|
||||
description: 'An inverter mapping in the form {"SERIAL": "type"} e.g.: for an SPH6000 with serial "NWO00415E3" : {"NWO00415E3": "sph"}'
|
||||
ha_plugin:
|
||||
name: Home Assistant plugin
|
||||
description: "Enable the Home Assistant plugin. This will send the data to Home Assistant via the grott HA plugin. Can be disabled if you are using the grott integration."
|
||||
|
||||
network:
|
||||
5279/TCP: This is the port used by grott to receive datalogger information.
|
||||
Reference in New Issue
Block a user