docs(security): change bugbounty provider from h1 to bugcrowd #328
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
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '**' | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
# only use one version for the lint step | |
python-version: [3.9] | |
steps: | |
- id: checkout | |
uses: actions/checkout@v2 | |
with: | |
# Do not persist the token during execution of this job. | |
persist-credentials: false | |
- id: dependencies | |
run: | | |
# Must be installed via the system | |
sudo apt install python3-bpfcc python3-pip | |
pip install -U pip toml | |
pip install '.[lint]' | |
- id: pylint | |
run: pylint --rcfile .pylintrc src/ || pylint-exit $? -efail | |
- id: mypy | |
run: python -m mypy --strict src/ --python-version 3.8 | |
- id: validate-style | |
run: | | |
isort --recursive src/ | |
black src/ | |
if [ $(git diff --name-only --diff-filter=ACMR | wc -l ) != 0 ]; then | |
echo "Reformatting failed! Please run make fmt on your commits and resubmit!" 1>&2; | |
git diff; | |
exit 1; | |
fi |