-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-checker - use actions/checkout v4 for scripts-int.
Based on review feedback from Jenia.
- Loading branch information
1 parent
c322aa3
commit 693256f
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |