Skip to content

Reconnect and resend when Studio drops an idle connection #1584

Reconnect and resend when Studio drops an idle connection

Reconnect and resend when Studio drops an idle connection #1584

Workflow file for this run

name: Linting
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
pre_job:
name: Path match check
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
lint: ${{ steps.filter.outputs.lint }}
steps:
# paths-filter needs a checkout to diff push events
- uses: actions/checkout@v7.0.1
- id: filter
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
with:
predicate-quantifier: every
# '!**/*.po', not '!**.po': picomatch negates '**.po' at the repo root only.
filters: |
lint:
- '!**/*.po'
- '!**/*.json'
linting:
name: All file linting
needs: pre_job
if: ${{ needs.pre_job.outputs.lint == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-python: true
- name: Run prek
run: uvx prek run --all-files