Skip to content

Commit

Permalink
Update Push-nd-PR.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pratik141 authored May 3, 2024
1 parent e0fdf89 commit 5bec16d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/Push-nd-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,11 @@ jobs:
- name: Lint with pylint
run: |
STAT=$(pylint $(git ls-files '*.py') |grep -o "at.*(" | cut -d ' ' -f3)
echo $STAT
pylint $(git ls-files '*.py')
OUTPUT="Last pylint run status: ${OUTPUT}"
echo "## ${OUTPUT}" >> $GITHUB_STEP_SUMMARY
echo "MESSAGE=$OUTPUT" >> $GITHUB_ENV
- name: Post pylint result to PR
if: github.event_name == 'pull_request'
uses: mshick/add-pr-comment@v1
with:
message: ${{ env.MESSAGE }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: 'github-actions[bot]'
allow-repeats: false

- name: Test with pytest
id: pytest
run: |
Expand Down

0 comments on commit 5bec16d

Please sign in to comment.