Skip to content

Merge branch 'main' into dependabot/pip/smmap-5.0.2 #271

Merge branch 'main' into dependabot/pip/smmap-5.0.2

Merge branch 'main' into dependabot/pip/smmap-5.0.2 #271

Workflow file for this run

on: push
name: on push
jobs:
gitHubActionForPylint:
name: GitHub Action for pylint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
# - name: GitHub Action for pylint
# uses: zerodaysec/github-action-for-python@main
# with:
# args: pylint **/*.py
- name: Lint with pylint
run: |
pip install pylint
OUTPUT=$(pylint ./app --exit-zero)
echo "MESSAGE=${OUTPUT}" >> $GITHUB_ENV
- name: Post result to PR
uses: mshick/add-pr-comment@v2
with:
message: ${{ env.MESSAGE }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]" # The user.login for temporary GitHub tokens
allow-repeats: false # This is the default