Add extract_cve_from_tag to Shadowserver parser _config.py #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |