chore(renovate): fix manifest.json
regex match
#434
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "33 3 * * *" | |
jobs: | |
hacs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hacs/action@main | |
with: | |
category: integration | |
ignore: brands information | |
hassfest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: home-assistant/actions/hassfest@master | |
lint: | |
if: github.event_name != 'schedule' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/pip | |
venv | |
key: >- | |
lint-${{ hashFiles( | |
'.github/requirements.txt', | |
'requirements/dev-requirements.txt' | |
) }} | |
restore-keys: lint- | |
- name: Install dependencies | |
run: | | |
set -euxo pipefail | |
python3 -m venv venv | |
venv/bin/python3 -m pip install -Ur .github/requirements.txt | |
- run: venv/bin/gitlint --commits "origin/$GITHUB_BASE_REF..HEAD" | |
if: github.event_name == 'pull_request' | |
- uses: pre-commit/[email protected] |