Skip to content

Properly set workflow permissions #864

Properly set workflow permissions

Properly set workflow permissions #864

Workflow file for this run

name: Lint Python code
on: [push]
# Declare default permissions as read only.
permissions: read-all
jobs:
run-python-linter:
name: Run Python linter
runs-on: ubuntu-20.04
steps:
- name: Checkout this repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- name: Build the middleware docker image
run: docker/mware/build
- name: Lint
run: ./lint-python