Skip to content

Commit 2a17cea

Browse files
committed
chore: Sync with WeblateOrg/meta
1 parent db746cc commit 2a17cea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
with:
4444
python-version: '3.13'
4545
- uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
46+
with:
47+
enable-cache: false
4648
- name: detect method
4749
id: detect
4850
run: |
@@ -63,6 +65,7 @@ jobs:
6365
env:
6466
RUFF_OUTPUT_FORMAT: github
6567
REUSE_OUTPUT_FORMAT: github
68+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6669
- name: pre-commit (uvx)
6770
if: steps.detect.outputs.method == 'uvx'
6871
run: |
@@ -71,6 +74,7 @@ jobs:
7174
env:
7275
RUFF_OUTPUT_FORMAT: github
7376
REUSE_OUTPUT_FORMAT: github
77+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7478
- name: Install dependencies
7579
if: steps.detect.outputs.method == 'requirements'
7680
run: uv pip install --system -r requirements-lint.txt
@@ -85,6 +89,7 @@ jobs:
8589
env:
8690
RUFF_OUTPUT_FORMAT: github
8791
REUSE_OUTPUT_FORMAT: github
92+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8893
- name: diff
8994
run: git diff
9095
if: always()

0 commit comments

Comments
 (0)