Skip to content

Tidy up dockerfile #130

Tidy up dockerfile

Tidy up dockerfile #130

Workflow file for this run

name: Code Formatting
on:
push:
branches-ignore:
- main
pull_request:
types:
- opened
- ready_for_review
- reopened
jobs:
ci:
runs-on: 'ubuntu-latest'
name: PR Formatter
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Format the code
uses: psf/black@stable
with:
options: "--check --diff"
src: "."
- name: Check-in updated code
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
committer_name: GitHub Actions
committer_email: [email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}