Added CODEOWNERS #273
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 | |
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 |