From 61bb1af0c6a86f12f2a7d181478768954ee4632a Mon Sep 17 00:00:00 2001 From: Lio Date: Mon, 4 Mar 2024 18:38:54 -0300 Subject: [PATCH] Update pylint-score.yml --- .github/workflows/pylint-score.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pylint-score.yml b/.github/workflows/pylint-score.yml index 98127bd..f38c5b5 100644 --- a/.github/workflows/pylint-score.yml +++ b/.github/workflows/pylint-score.yml @@ -28,6 +28,11 @@ jobs: SCORE=$(docker compose -f .devcontainer/docker-compose.yml run devcontainer pylint /workspace/src/model2queue/model2queue | grep 'Your code has been rated at' | awk '{print $7}' | sed 's/\//\-/g') echo "PYLINT_SCORE=$SCORE" >> $GITHUB_ENV + - name: Configure Git + run: | + git config --global user.email "action@github.com" + git config --global user.name "GitHub Action" + - name: Update README run: | # Use sed, awk, or a custom script to update the README with the pylint score