From f4feb4c81c6c8f2c361b153d5915fa60bdc118aa Mon Sep 17 00:00:00 2001 From: Oxan van Leeuwen Date: Thu, 25 Nov 2021 23:19:48 +0100 Subject: [PATCH 1/2] Remove accidentally inserted backticks (#1668) --- components/sun.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sun.rst b/components/sun.rst index 39ad8039f..f0ce92c9f 100644 --- a/components/sun.rst +++ b/components/sun.rst @@ -55,7 +55,7 @@ Automation: - **on_sunset** (*Optional*, :ref:`Automation `): An automation to perform at sunset when the sun crosses a specified angle. - - **elevation** (*Optional*, float): The elevation to cross. Defaults to -0.833° (the horizon, slightly less than 0° to compensate for atmospheric refraction).``` + - **elevation** (*Optional*, float): The elevation to cross. Defaults to -0.833° (the horizon, slightly less than 0° to compensate for atmospheric refraction). ``sun`` Sensor -------------- From bd188658746d9cba5ad0ac733139089ba7fcca7a Mon Sep 17 00:00:00 2001 From: Oxan van Leeuwen Date: Thu, 25 Nov 2021 23:24:02 +0100 Subject: [PATCH 2/2] Cancel previous workflows for PRs and branches (#1669) --- .github/workflows/lint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2464668a0..813f10af8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,10 @@ on: permissions: contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: build: