diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index 4ed2bd8..373d26a 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -18,11 +18,12 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.9' - - name: Set GitHub access token via git config - run: | - git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com/".insteadOf "git@github.com:" - git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github".insteadOf "https://github" - - run: git clone git@github.com:PelionIoT/scripts-internal.git + + - name: Clone scripts-internal + uses: actions/checkout@v4 + with: + repository: https://github.com/PelionIoT/scripts-internal + token: ${{ secrets.ACCESS_TOKEN }} # Need to run this 1st, so that the other log files do not cause unnecessary findings - name: Run misspell @@ -94,4 +95,4 @@ jobs: if [ "$TEST_FAIL" = "true" ]; then echo "Some test has failed, fail the job." exit 1 # You can choose to exit with success (0) to mark this step as successful but skipped. - fi \ No newline at end of file + fi