From 5bec16da395036b27ac4a23490142bc0f1810e98 Mon Sep 17 00:00:00 2001 From: Pratik <13189088+pratik141@users.noreply.github.com> Date: Fri, 3 May 2024 23:29:58 +0200 Subject: [PATCH] Update Push-nd-PR.yml --- .github/workflows/Push-nd-PR.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/Push-nd-PR.yml b/.github/workflows/Push-nd-PR.yml index 4e78fcf..4af25de 100644 --- a/.github/workflows/Push-nd-PR.yml +++ b/.github/workflows/Push-nd-PR.yml @@ -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: |