Skip to content

Commit

Permalink
PR-checker - use actions/checkout v4 for scripts-int.
Browse files Browse the repository at this point in the history
Based on review feedback from Jenia.
  • Loading branch information
JanneKiiskila authored Oct 21, 2023
1 parent c322aa3 commit 693256f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/pr-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]:"
git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github".insteadOf "https://github"
- run: git clone [email protected]: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
Expand Down Expand Up @@ -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
fi

0 comments on commit 693256f

Please sign in to comment.