Compare commits

..

20 Commits

Author SHA1 Message Date
Franck Nijhof 71b0a020ee Fix problem matcher registration (#32) 2021-07-14 14:54:26 +02:00
Franck Nijhof 0e76be6bab Add first step for a Home Assistant problem matcher (#31) 2021-07-14 14:36:24 +02:00
dependabot[bot] 706b504d38 Bump dessant/lock-threads from 2.0.3 to 2.1.1 (#30)
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 2.0.3 to 2.1.1.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v2.0.3...v2.1.1)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 13:21:45 +02:00
dependabot[bot] d7a9e8b399 Bump micnncim/action-label-syncer from 1.2.0 to 1.3.0 (#28)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 11:04:01 +02:00
dependabot[bot] e0f43b9b12 Bump actions/stale from 3.0.18 to 3.0.19 (#27) 2021-05-18 10:25:23 +02:00
Nathan Tilley ad370db284 Add ntilley905's Configuration to Real World Examples (#26) 2021-04-20 22:05:35 +02:00
tigattack c169682cb6 Pull HASS image quietly (#25)
This will eliminate a lot of unnecessary log spam.
2021-04-20 00:54:25 +02:00
dependabot[bot] 30ae1cb948 Bump release-drafter/release-drafter from v5.14.0 to v5.15.0 (#24)
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from v5.14.0 to v5.15.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.14.0...fe52e97d262833ae07d05efaf1a239df3f1b5cd4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 09:11:29 +01:00
dependabot[bot] ffdf0d45c9 Bump actions/stale from v3.0.17 to v3.0.18 (#23)
Bumps [actions/stale](https://github.com/actions/stale) from v3.0.17 to v3.0.18.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.17...3b3c3f03cd4d8e2b61e179ef744a0d20efbe90b4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 10:35:59 +01:00
dependabot[bot] f1f8077ec5 Bump actions/stale from v3.0.16 to v3.0.17 (#21) 2021-02-19 08:30:45 +01:00
dependabot[bot] 16306e15f1 Bump release-drafter/release-drafter from v5.13.0 to v5.14.0 (#18)
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from v5.13.0 to v5.14.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.13.0...e5ccf147077e46b0225a80bbe314d795d77bb7a2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 12:00:13 +01:00
dependabot[bot] 9514ca72ec Bump actions/stale from v3.0.15 to v3.0.16 (#17)
Bumps [actions/stale](https://github.com/actions/stale) from v3.0.15 to v3.0.16.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.15...9d6f46564a515a9ea11e7762ab3957ee58ca50da)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 11:29:45 +01:00
dependabot[bot] d77251e483 Bump frenck/action-yamllint from v1.0.2 to v1.1 (#16)
Bumps [frenck/action-yamllint](https://github.com/frenck/action-yamllint) from v1.0.2 to v1.1.
- [Release notes](https://github.com/frenck/action-yamllint/releases)
- [Commits](https://github.com/frenck/action-yamllint/compare/v1.0.2...e21bcc770907b7207a05453ca9f1eb7129c945d1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 12:45:17 +01:00
Robert 52cacd1233 Add /me to real world examples (#15) 2021-01-27 21:32:27 +01:00
dependabot[bot] 8ecae4f00f Bump actions/stale from v3.0.14 to v3.0.15 (#14)
Bumps [actions/stale](https://github.com/actions/stale) from v3.0.14 to v3.0.15.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.14...86561461b92875de77a8b2d2e75f004c826e8f45)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 11:39:50 +01:00
dependabot[bot] cc3990bb88 Bump frenck/action-yamllint from v1.0.1 to v1.0.2 (#12)
Bumps [frenck/action-yamllint](https://github.com/frenck/action-yamllint) from v1.0.1 to v1.0.2.
- [Release notes](https://github.com/frenck/action-yamllint/releases)
- [Commits](https://github.com/frenck/action-yamllint/compare/v1.0.1...400c8cd5cb057e97f2fbb9d1a094ad4ec368e52c)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 20:43:46 +01:00
Klaas Schoute ced928ab78 Add Klaas Schouten's repo to real-world examples (#13) 2021-01-14 20:43:14 +01:00
Franck Nijhof 4b72039417 Fix maintenance vs chore label issue (#11) 2021-01-13 23:44:28 +01:00
Franck Nijhof 5791c02c40 Tweaks to naming in Linter CI (#10) 2021-01-13 23:41:34 +01:00
Franck Nijhof 809296d737 Collection of small documentation tweaks (#7) 2021-01-13 14:25:30 +01:00
10 changed files with 53 additions and 22 deletions
-3
View File
@@ -25,9 +25,6 @@
- name: "maintenance"
color: 2af79e
description: "Generic maintenance tasks."
- name: "chore"
color: 2af79e
description: "Generic chore."
- name: "ci"
color: 1d76db
description: "Work that improves the continue integration."
+1 -1
View File
@@ -21,7 +21,7 @@ categories:
- "performance"
- title: "🧰 Maintenance"
labels:
- "chore"
- "maintenance"
- "ci"
- title: "📚 Documentation"
labels:
+1 -1
View File
@@ -18,6 +18,6 @@ jobs:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.3.4
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1.2.0
uses: micnncim/action-label-syncer@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+5 -5
View File
@@ -2,20 +2,20 @@
name: Lint
# yamllint disable-line rule:truthy
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: 🧹 yamllint
yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.3.4
- name: 🚀 Run yamllint
uses: frenck/action-yamllint@v1.0.1
uses: frenck/action-yamllint@v1.1
prettier:
name: 🧹 Prettier
name: Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
name: 🔒 Lock closed issues and PRs
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2.0.3
- uses: dessant/lock-threads@v2.1.1
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: "30"
+1 -1
View File
@@ -13,6 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/release-drafter@v5.13.0
uses: release-drafter/release-drafter@v5.15.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🚀 Run stale
uses: actions/stale@v3.0.14
uses: actions/stale@v3.0.19
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
+11 -8
View File
@@ -52,7 +52,7 @@ By default, this GitHub Action will use the root folder as the Home Assistant
Core configuration folder. If you store your Home Assistant configuration in a
subfolder, the `path` argument can be used to inform the Action about that.
For example, if you configuration is in the `config` folder:
For example, if your configuration is in the `config` folder:
```yaml
- name: 🚀 Run Home Assistant Core Configuration Check
@@ -71,7 +71,7 @@ This GitHub Action offers a way around that, but using a fake secrets file.
To use this, add a fake secrets file to your repository (e.g.,
`fakesecrets.yaml`) and make sure the content is the same as your real
`secrets.yaml` (with, of course, fake credentials/data). The GitHub Action
will use this file during checking your configuration.
will use this file while checking your configuration.
For example, if you fake secrets file is `fakesecrets.yaml`:
@@ -91,7 +91,7 @@ folder.
If the `.HA_VERSION` file is found, the version in that file is used. If
the `.HA_VERSION` file is not found; the Action will use the latest stable
version of Home Assistant to test your configuration with.
version of Home Assistant to test your configuration.
However, you can specify/override any version you like to check against,
for example, check with Home Assistant Core `2021.1.0`:
@@ -104,7 +104,7 @@ for example, check with Home Assistant Core `2021.1.0`:
```
Alternatively, you can also use `stable`, `beta` or `dev` to run against
latest versions of those stability channels.
the latest versions of those stability channels.
```yaml
- name: 🚀 Run Home Assistant Core Configuration Check
@@ -145,6 +145,9 @@ The following repositories are using this GitHub Action, and thus provide
you with some real-world uses of this GitHub Action.
- [Frenck's Home Assistant Configuration](https://github.com/frenck/home-assistant-config)
- [Klaasnicolaas - Student Home Assistant Configuration](https://github.com/klaasnicolaas/Student-homeassistant-config)
- [Metbril's :sunglasses: Home Assistant Configuration](https://github.com/metbril/home-assistant-config)
- [ntilley905's Home Assistant Configuration](https://github.com/ntilley905/hass)
Are you using this GitHub Action? Feel free to open up a PR to add your
configuration to this list 😍
@@ -189,21 +192,21 @@ as long as it is version 1.
```yaml
- name: 🚀 Run Home Assistant Configuration Check
uses: frenck/action-home-assistant@v1.1
uses: frenck/action-home-assistant@v1
```
### Automatically update using Dependabot
The advantage of locking against a more specific version, is that it prevent
The advantage of locking against a more specific version, is that it prevents
surprises if an issue or breaking changes were introduced in a newer release.
The disadvantage of being more specific, is that it requires you to keep things
up to date. Fortunately, GitHub has a tool for that, called: Dependabot.
Dependabot can automatically open a pull request on your repository to update
this action for you. You can instantly see if the new version works (as the
this Action for you. You can instantly see if the new version works (as the
pull request shows the success or failure status) and you can decide to
merge it in but hitting the merge button. Quick, easy and always up2date.
merge it in by hitting the merge button. Quick, easy and always up2date.
To enable Dependabot, create a file called `.github/dependabot.yaml`:
+7 -1
View File
@@ -86,7 +86,13 @@ runs:
fi
echo "::set-output name=version::${version}"
docker pull "homeassistant/home-assistant:${version}"
docker pull -q "homeassistant/home-assistant:${version}"
- name: 🏗 Register Home Assistant problem matcher
shell: bash
run: |
matcher="${{ github.action_path }}/matcher.json"
echo "::add-matcher::${matcher}"
- name: 🚀 Run Home Assistant Configuration Check
shell: bash
+25
View File
@@ -0,0 +1,25 @@
{
"problemMatcher": [
{
"owner": "homeassistant-warnings",
"pattern": [
{
"regexp": "^(WARNING):(.*)$",
"severity": 1,
"message": 2
}
]
},
{
"owner": "homeassistant-invalid-config",
"pattern": [
{
"regexp": "(Invalid config for .*) \\(See (.*)(?::|, line )(\\d|\\?)\\)",
"file": 2,
"line": 3,
"message": 1
}
]
}
]
}