chore(deps): update docker.io/bitnami/etcd docker tag to v3.5.18-debi… #82
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: 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 |