lint.yml
This file
Path
.github/workflows/lint.yml
20 lines · 487 bytes · YAML
Last changed by
Merge pull request #6883 from psf/dependabot/github_actions/actions/setup-python-5.4.0Nate Prewittbefore adoptionf2a6ae5
History of this fileTake it
Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7
lines 1–2why, one step back1name: Lint code2Upgrade lint.yml action (#6370)Nate Prewittbefore adoptionec78348
line 3why, one step back3on: [push, pull_request]Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7
line 4why, one step back4ci: add minimum GitHub token permissions for workflows (#6236)Ashish Kurmibefore adoptioneb07385
lines 5–7why, one step back5permissions:6 contents: read7Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7
lines 8–10why, one step back8jobs:9 lint:10 runs-on: ubuntu-20.04Upgrade lint.yml action (#6370)Nate Prewittbefore adoptionec78348
line 11why, one step back11 timeout-minutes: 10Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7
lines 12–13why, one step back1213 steps:Merge pull request #6803 from psf/dependabot/github_actions/actions/checkout-4.2.0Nate Prewittbefore adoption7335bbf
line 14why, one step back14 - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7
line 15why, one step back15 - name: Set up PythonMerge pull request #6883 from psf/dependabot/github_actions/actions/setup-python-5.4.0Nate Prewittbefore adoptionf2a6ae5
line 16why, one step back16 uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0Upgrade lint.yml action (#6370)Nate Prewittbefore adoptionec78348
lines 17–18why, one step back17 with:18 python-version: "3.x"Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7
line 19why, one step back19 - name: Run pre-commitPin GHA workflows and add dependabot to keep them up to date (#6497)Nate Prewittbefore adoption2c193bd
line 20why, one step back20 uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0