Skip to content

Commit 89b00da

Browse files
committed
fix
1 parent b7f2a57 commit 89b00da

File tree

4 files changed

+20
-24
lines changed

4 files changed

+20
-24
lines changed

.github/workflows/build_tests.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,14 @@ jobs:
5858
/*
5959
!.github
6060
61-
- name: Get Scripts
61+
# To avoid giving unknown scripts elevated permissions, download them from the master branch
62+
- name: Get CI scripts from master
6263
if: ${{ steps.check-build.outputs.enabled == 'true' }}
6364
run: |
6465
mkdir -p .github
6566
cd .github
6667
curl https://codeload.github.com/${{ github.repository }}/tar.gz/master | tar -xz --strip=2 arduino-esp32-master/.github
6768
68-
- name: Cat scripts
69-
if: ${{ steps.check-build.outputs.enabled == 'true' }}
70-
run: |
71-
cat .github/scripts/tests_build.sh
72-
7369
- name: Get libs cache
7470
uses: actions/cache@v4
7571
if: ${{ steps.check-build.outputs.enabled == 'true' }}

.github/workflows/hw.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060
/*
6161
!.github
6262
63-
- name: Checkout Scripts
63+
# To avoid giving unknown scripts elevated permissions, download them from the master branch
64+
- name: Get CI scripts from master
6465
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
65-
uses: actions/checkout@v4
66-
with:
67-
persist-credentials: false
68-
sparse-checkout-cone-mode: false
69-
sparse-checkout: .github/*
66+
run: |
67+
mkdir -p .github
68+
cd .github
69+
curl https://codeload.github.com/${{ github.repository }}/tar.gz/master | tar -xz --strip=2 arduino-esp32-master/.github
7070
7171
# setup-python currently only works on ubuntu images
7272
# - uses: actions/setup-python@v5

.github/workflows/qemu.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656
/*
5757
!.github
5858
59-
- name: Checkout Scripts
59+
# To avoid giving unknown scripts elevated permissions, download them from the master branch
60+
- name: Get CI scripts from master
6061
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
61-
uses: actions/checkout@v4
62-
with:
63-
persist-credentials: false
64-
sparse-checkout-cone-mode: false
65-
sparse-checkout: .github/*
62+
run: |
63+
mkdir -p .github
64+
cd .github
65+
curl https://codeload.github.com/${{ github.repository }}/tar.gz/master | tar -xz --strip=2 arduino-esp32-master/.github
6666
6767
- uses: actions/setup-python@v5
6868
if: steps.check-tests.outputs.enabled == 'true'

.github/workflows/wokwi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ jobs:
6464
/*
6565
!.github
6666
67-
- name: Checkout Scripts
67+
# To avoid giving unknown scripts elevated permissions, download them from the master branch
68+
- name: Get CI scripts from master
6869
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
69-
uses: actions/checkout@v4
70-
with:
71-
persist-credentials: false
72-
sparse-checkout-cone-mode: false
73-
sparse-checkout: .github/*
70+
run: |
71+
mkdir -p .github
72+
cd .github
73+
curl https://codeload.github.com/${{ github.repository }}/tar.gz/master | tar -xz --strip=2 arduino-esp32-master/.github
7474
7575
- uses: actions/setup-python@v5
7676
if: steps.check-tests.outputs.enabled == 'true'

0 commit comments

Comments
 (0)