Skip to content

style: conform to pre-commit on vcpkg-cmake-module #2

style: conform to pre-commit on vcpkg-cmake-module

style: conform to pre-commit on vcpkg-cmake-module #2

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}
- name: Set up python
uses: actions/setup-python@v3
- name: Run pre-commit on codebase
uses: pre-commit/action@v3.0.0
- name: Auto commit action
uses: stefanzweifel/git-auto-commit-action@v4
if: failure()
with:
commit_message: 'ci: auto fixes from pre-commit'