Skip to content

Commit

Permalink
ci: add pre-commit-ci-lite workflow for PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Kaechele <[email protected]>
  • Loading branch information
kaechele committed May 1, 2024
1 parent 3a8a271 commit ac5f6fc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check Pull Requests

on:
pull_request:

jobs:
pr:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Run pre-commit
uses: pre-commit/[email protected]

- name: Autofix using pre-commit-ci-lite
uses: pre-commit-ci/[email protected]
if: always()

0 comments on commit ac5f6fc

Please sign in to comment.