Skip to content

chore(deps): update ghcr.io/hertzg/rtl_433_docker:24.10-alpine docker… #76

chore(deps): update ghcr.io/hertzg/rtl_433_docker:24.10-alpine docker…

chore(deps): update ghcr.io/hertzg/rtl_433_docker:24.10-alpine docker… #76

Workflow file for this run

name: Pre-Commit
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pre-commit:
name: Pre-Commit
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- name: Generate GitHub App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PRE_COMMIT_APP_ID }}
private-key: ${{ secrets.PRE_COMMIT_APP_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: astral-sh/setup-uv@v5
- uses: actions/setup-go@v5
with:
go-version: '>=1.22'
- run: uv pip install --system pre-commit
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys:
${{ runner.os }}-pre-commit-
- run: pre-commit run --show-diff-on-failure --color=always --all-files || true
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: Apply code formatting"
commit_user_name: usa-reddragon-flux-pre-commit[bot]
commit_user_email: 198527162+github-actions[bot]@users.noreply.github.com
commit_author: "usa-reddragon-flux-pre-commit[bot] <198527162+github-actions[bot]@users.noreply.github.com>"
- run: pre-commit run --show-diff-on-failure --color=always --all-files