Skip to content

Merge pull request #2432 from sebix/fix-2430 #2341

Merge pull request #2432 from sebix/fix-2430

Merge pull request #2432 from sebix/fix-2430 #2341

Workflow file for this run

#Github Workflow to run pycodestyle
#
#SPDX-FileCopyrightText: 2020 Birger Schacht
#SPDX-License-Identifier: AGPL-3.0-or-later
name: "Run pycodestyle on repository"
on:
push:
branches: [develop, maintenance, master]
paths-ignore:
- '.github/**'
pull_request:
branches: [develop, maintenance]
paths-ignore:
- '.github/**'
jobs:
pycodestyle:
name: Run pycodestyle
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install pycodestyle
run: |
sudo apt update
sudo apt install pycodestyle -y
- name: Run pycodestyle
run: |
pycodestyle intelmq/{bots,lib,bin}
- name: Run pycodestyle_comment.py
if: ${{ github.event_name == 'pull_request' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python3 .github/workflows/python/pycodestyle_comment.py