Skip to content

Commit a4fda74

Browse files
committed
chore: update shared files
Automated update of shared files from the social-core repository, see https://github.com/python-social-auth/.github/blob/main/repo-sync.py
1 parent 2d76874 commit a4fda74

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,31 @@ on:
44
push:
55
pull_request:
66

7+
78
permissions:
89
contents: read
910

1011
jobs:
1112
pre-commit:
12-
uses: python-social-auth/social-core/.github/workflows/pre-commit-shared.yml@master
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17+
with:
18+
persist-credentials: false
19+
20+
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
21+
with:
22+
path: ~/.cache/prek
23+
key: ${{ runner.os }}-prek-${{ hashFiles('.pre-commit-config.yaml', 'requirements*.txt') }}
24+
25+
- name: Setup Python
26+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
27+
with:
28+
python-version: 3.x
29+
30+
- uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
31+
32+
- run: uvx prek run --all-files
33+
env:
34+
RUFF_OUTPUT_FORMAT: github

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ repos:
5656
hooks:
5757
- id: actionlint
5858
- repo: https://github.com/zizmorcore/zizmor-pre-commit
59-
rev: v1.20.0
59+
rev: v1.21.0
6060
hooks:
6161
- id: zizmor

0 commit comments

Comments
 (0)