We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9dc65f commit a48031bCopy full SHA for a48031b
.github/workflows/ruff-version.yml
@@ -0,0 +1,34 @@
1
+name: ruff
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - "{{cookiecutter.project_slug}}/requirements/local.txt"
7
8
+permissions:
9
+ contents: write
10
+ pull-requests: write
11
12
+jobs:
13
+ version:
14
+ runs-on: ubuntu-latest
15
+ env:
16
+ GH_PAT: ${{ secrets.GH_PAT }}
17
+ steps:
18
+ - name: Checkout with token
19
+ uses: actions/checkout@v4
20
+ if: ${{ env.GH_PAT != '' }}
21
+ with:
22
+ token: ${{ env.GH_PAT }}
23
24
+ - name: Checkout without token
25
26
+ if: ${{ env.GH_PAT == '' }}
27
28
+ - uses: astral-sh/setup-uv@v5
29
30
+ - run: uv run scripts/ruff_version.py
31
32
+ - uses: stefanzweifel/git-auto-commit-action@v5
33
34
+ commit_message: Align Ruff versions
0 commit comments