Skip to content

Commit fc9abd3

Browse files
Merge pull request #411 from robbinjanssen/itsbeenawhile
Update project to latest home assistant standards
2 parents 1b0e63f + 6ba4fac commit fc9abd3

24 files changed

Lines changed: 1491 additions & 1434 deletions

.github/dependabot.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/release-drafter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
name-template: 'v$RESOLVED_VERSION'
3-
tag-template: 'v$RESOLVED_VERSION'
4-
change-template: '- [#$NUMBER]($URL) $TITLE ([@$AUTHOR](https://github.com/$AUTHOR))'
2+
name-template: '$RESOLVED_VERSION'
3+
tag-template: '$RESOLVED_VERSION'
4+
change-template: '- [#$NUMBER] $TITLE [@$AUTHOR](https://github.com/$AUTHOR)'
55
sort-direction: ascending
66

77
exclude-labels:

.github/renovate.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"timezone": "Europe/Amsterdam",
4+
"schedule": [
5+
"before 6am every weekday"
6+
],
7+
"rebaseWhen": "behind-base-branch",
8+
"dependencyDashboard": true,
9+
"labels": [
10+
"dependencies"
11+
],
12+
"lockFileMaintenance": {
13+
"enabled": true,
14+
"automerge": true
15+
},
16+
"commitMessagePrefix": "⬆️",
17+
"packageRules": [
18+
{
19+
"matchManagers": [
20+
"poetry"
21+
],
22+
"addLabels": [
23+
"python"
24+
]
25+
},
26+
{
27+
"matchManagers": [
28+
"poetry"
29+
],
30+
"matchDepTypes": [
31+
"dev"
32+
],
33+
"rangeStrategy": "pin"
34+
},
35+
{
36+
"matchManagers": [
37+
"poetry"
38+
],
39+
"matchUpdateTypes": [
40+
"minor",
41+
"patch"
42+
],
43+
"automerge": true
44+
},
45+
{
46+
"matchManagers": [
47+
"github-actions"
48+
],
49+
"addLabels": [
50+
"github_actions"
51+
],
52+
"rangeStrategy": "pin",
53+
"extractVersion": "^(?<version>v\\d+\\.\\d+\\.\\d+)$",
54+
"versioning": "regex:^v(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+))?$"
55+
},
56+
{
57+
"matchManagers": [
58+
"github-actions"
59+
],
60+
"matchUpdateTypes": [
61+
"minor",
62+
"patch"
63+
],
64+
"automerge": true
65+
}
66+
]
67+
}

.github/workflows/draft-release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ name: Draft Release
44
on:
55
push:
66
branches: [main]
7+
workflow_dispatch:
78

89
jobs:
910
update-release-draft:
@@ -12,6 +13,6 @@ jobs:
1213

1314
steps:
1415
- name: Run release drafter
15-
uses: release-drafter/release-drafter@v6
16+
uses: release-drafter/release-drafter@v6.1.0
1617
env:
1718
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/hacs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: HACS Action
23

34
on:
@@ -11,8 +12,10 @@ jobs:
1112
name: HACS Action
1213
runs-on: "ubuntu-latest"
1314
steps:
14-
- uses: "actions/checkout@v6"
15+
- name: Checkout repository
16+
uses: actions/checkout@v5.0.0
17+
1518
- name: HACS Action
16-
uses: "hacs/action@main"
19+
uses: hacs/action@main
1720
with:
1821
category: "integration"

.github/workflows/hassfest.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Validate with hassfest
23

34
on:
@@ -10,5 +11,8 @@ jobs:
1011
validate:
1112
runs-on: "ubuntu-latest"
1213
steps:
13-
- uses: "actions/checkout@v6"
14-
- uses: home-assistant/actions/hassfest@master
14+
- name: Checkout repository
15+
uses: actions/checkout@v5.0.0
16+
17+
- name: Validate using hassfest
18+
uses: home-assistant/actions/hassfest@master

.github/workflows/issues.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Issues
33

44
on:
55
schedule:
6-
- cron: "0 8 * * *"
6+
- cron: "0 17 * * *"
77
workflow_dispatch:
88

99
jobs:
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: dessant/lock-threads@v5
15+
- uses: dessant/lock-threads@v5.0.1
1616
with:
1717
github-token: ${{ github.token }}
1818
issue-inactive-days: "30"
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Run stale
29-
uses: actions/stale@v9
29+
uses: actions/stale@v9.1.0
3030
with:
3131
repo-token: ${{ secrets.GITHUB_TOKEN }}
3232
days-before-stale: 30

0 commit comments

Comments
 (0)