diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-08-22 09:57:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 09:57:31 (GMT) |
commit | d678ee771931a391212ef41e61e9717b43867e35 (patch) | |
tree | fe5846224adab0eacacf637eabba770701fa4088 /.github | |
parent | 8e837373edc7607d404f66df735da4e97e2bc4c5 (diff) | |
download | cpython-d678ee771931a391212ef41e61e9717b43867e35.zip cpython-d678ee771931a391212ef41e61e9717b43867e35.tar.gz cpython-d678ee771931a391212ef41e61e9717b43867e35.tar.bz2 |
[3.11] Trim trailing whitespace and test on CI (GH-104275) (#108215)
Diffstat (limited to '.github')
-rw-r--r-- | .github/CODEOWNERS | 5 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 22 |
2 files changed, 26 insertions, 1 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3d39e0c..99d701d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -5,7 +5,10 @@ # https://git-scm.com/docs/gitignore#_pattern_format # GitHub -.github/** @ezio-melotti +.github/** @ezio-melotti @hugovk + +# pre-commit +.pre-commit-config.yaml @hugovk @AlexWaygood # asyncio **/*asyncio* @1st1 @asvetlov diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..4481ea8 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: Lint + +on: [push, pull_request, workflow_dispatch] + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.x" + - uses: pre-commit/action@v3.0.0 |