Skip to content

Commit

Permalink
Update pylint_checking.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpolton authored Nov 17, 2023
1 parent 661eadf commit 68f9d27
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pylint_checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ jobs:
git config --global user.email "[email protected]"
git config --global author.email "[email protected]"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git status
git checkout -b $GITHUB_HEAD_REF
git pull --force origin $GITHUB_HEAD_REF
git status
git fetch origin
git checkout $GITHUB_HEAD_REF
git pull
echo "NEW_SCORE is greater than THESHOLD_SCORE"
echo "Updating THESHOLD_SCORE"
echo "$NEW_SCORE" > .pylint-score
Expand All @@ -44,4 +43,4 @@ jobs:
echo "NEW_SCORE is equal to THESHOLD_SCORE"
else
echo "NEW_SCORE is below the THESHOLD_SCORE. Check your pylint"
fi
fi

0 comments on commit 68f9d27

Please sign in to comment.