Newer
Older
thu-learn-downloader-optimized / .github / workflows / pre-commit.yaml
@github-actions[bot] github-actions[bot] on 17 Feb 2024 585 bytes ci: sync with repository template
name: pre-commit

on:
  push:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}

jobs:
  pre-commit:
    name: pre-commit
    permissions:
      contents: write
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GH_TOKEN }}
      - name: pre-commit
        uses: liblaf/pre-commit-hooks@main
      - name: Commit
        if: always()
        uses: liblaf/pre-commit-hooks/.github/actions/commit@main
        with:
          message: "ci(pre-commit): auto fixes from pre-commit hooks"