Skip to content

Apply suggestions from code review #128

Apply suggestions from code review

Apply suggestions from code review #128

Workflow file for this run

name: Run pre-commit and in-place update PR on push
on:
push:
branches-ignore:
# ignore tmp branches used by bors
- 'staging.tmp*'
- 'trying.tmp*'
- 'staging*.tmp'
- 'nolints'
# ignore staging and trying branches used by bors, these are handled by bors.yml
- 'staging'
- 'trying'
- 'ci-dev/**' # ignore branches meant for experiments
- 'master'
pull_request:
# extracted from https://pre-commit.ci/lite
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: 3.x
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- uses: pre-commit-ci/lite-action@5d6cc0eb514c891a40562a58a8e71576c5c7fb43 # v1.1.0
if: always()