From dd83955e41a8cb0bce1bf0d1150356477d18c1a7 Mon Sep 17 00:00:00 2001 From: Sean Freeman Date: Fri, 8 Nov 2024 14:20:43 -0600 Subject: [PATCH 1/2] fix linting syntax error --- .github/workflows/pylint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 1fb1318b..a580b520 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -44,10 +44,10 @@ jobs: - name: Checkout PR branch uses: actions/checkout@v3 with: - ref: "${{ steps.git.outputs.SHA }}" + ref: ${{ steps.git.outputs.SHA }} - name: Get pylint score of PR branch - run: + run: | # use shell script to save only tail of output OUTPUT_PART=$(pylint tobac --disable=C --exit-zero | tail -n 2) # but post entire output in the action details From ddf7f967aeef233c44bf894efb948b767422a403 Mon Sep 17 00:00:00 2001 From: Sean Freeman Date: Fri, 8 Nov 2024 14:27:19 -0600 Subject: [PATCH 2/2] update checkout version --- .github/workflows/pylint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index a580b520..cae7d672 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -32,7 +32,7 @@ jobs: id: git - name: Checkout RC branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.base_ref }} @@ -42,7 +42,7 @@ jobs: id: main_score - name: Checkout PR branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ steps.git.outputs.SHA }}