Skip to content

Catch and log all exceptions during docker processing. (#104) #125

Catch and log all exceptions during docker processing. (#104)

Catch and log all exceptions during docker processing. (#104) #125

Workflow file for this run

name: Format code
on:
pull_request:
push:
branches:
- master
paths-ignore:
- .github/**
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: write
actions: write
jobs:
format:
name: Format and lint with ruff
runs-on: arc-runners-small
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: ./.github/workflows/actions/prepare
- run: poetry run ruff check --fix --unsafe-fixes --preview --exit-zero .
- run: poetry run ruff format .
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
fetch: false
default_author: github_actions
message: 'Auto format'
add: '.'