Skip to content

Commit 9aa3d2c

Browse files
authored
Add more autolabeling (#67)
1 parent aa8504e commit 9aa3d2c

File tree

6 files changed

+42
-11
lines changed

6 files changed

+42
-11
lines changed

.github/release-drafter.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ autolabeler:
2626
- label: 'github_actions'
2727
files:
2828
- '.github/*'
29+
- label: 'dependencies'
30+
body:
31+
- '/\[x\] dependency/i'
32+
- label: 'bug'
33+
body:
34+
- '/\[x\] bugfix/i'
35+
- label: 'enhancement'
36+
body:
37+
- '/\[x\] new feature/i'
38+
- label: 'breaking-change'
39+
body:
40+
- '/\[x\] breaking change/i'
41+
- label: 'code-quality'
42+
body:
43+
- '/\[x\] code quality/i'
44+
2945
version-resolver:
3046
major:
3147
labels:

.github/workflows/combined.yaml renamed to .github/workflows/hacs.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: "Validation And Formatting"
2+
name: "HACS"
33
# yamllint disable-line rule:truthy
44
on:
55
push:
@@ -17,9 +17,3 @@ jobs:
1717
uses: "hacs/action@main"
1818
with:
1919
category: "integration"
20-
validate_hassfest:
21-
name: "Hassfest Validation"
22-
runs-on: "ubuntu-latest"
23-
steps:
24-
- uses: "actions/checkout@v4"
25-
- uses: home-assistant/actions/hassfest@master

.github/workflows/hassfest.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: "Hassfest"
3+
# yamllint disable-line rule:truthy
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
jobs:
11+
validate_hassfest:
12+
name: "Hassfest Validation"
13+
runs-on: "ubuntu-latest"
14+
steps:
15+
- uses: "actions/checkout@v4"
16+
- uses: home-assistant/actions/hassfest@master

.github/workflows/pytest.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ on:
1313
- "**.py"
1414

1515
jobs:
16-
build:
16+
test:
17+
name: Python ${{ matrix.python-version }} Test
1718
runs-on: ubuntu-latest
1819
strategy:
1920
matrix:

.github/workflows/release-drafter.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ permissions:
2626

2727
jobs:
2828
update_release_draft:
29+
name: Update release draft
2930
permissions:
3031
contents: write
3132
pull-requests: write

.github/workflows/yarn.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222

2323
jobs:
2424
yarn:
25+
name: Yarn lint and build
2526
runs-on: ubuntu-latest
2627
strategy:
2728
matrix:
@@ -36,12 +37,14 @@ jobs:
3637
uses: actions/setup-node@v4
3738
with:
3839
node-version: ${{ matrix.node-version }}
39-
- name: Build
40-
run: |
41-
yarn build
40+
- name: Install
41+
run: yarn install
4242
- name: Lint
4343
run: |
4444
yarn lint:fix
45+
- name: Build
46+
run: |
47+
yarn build
4548
- name: Check for changes
4649
id: changes
4750
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files

0 commit comments

Comments
 (0)