diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index 911265d..020a038 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -5,7 +5,7 @@ jobs: run-pytest-pylint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pip install -r requirements.txt - run: pip install -r dev-requirements.txt - run: pip install --editable . @@ -14,7 +14,7 @@ jobs: run-pysh-check: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Install pyshcheck tooling - run: sudo apt install pycodestyle pydocstyle black # git instead of rules to use access token @@ -23,4 +23,7 @@ jobs: - run: git config --list - run: git clone git@github.com:PelionIoT/scripts-internal.git - run: echo "." >scripts-internal/.nopyshcheck - - run: scripts-internal/pysh-check/pysh-check.sh --workdir . \ No newline at end of file + - run: scripts-internal/pysh-check/pysh-check.sh --workdir . + - name: Clean up .gitconfig + if: always() + run: rm -f ~/.gitconfig \ No newline at end of file