6262 fail-fast : true
6363 matrix : ${{ fromJson(needs.matrix_prep.outputs.matrix) }}
6464 steps :
65+ - name : Harden Runner
66+ if : ${{ !github.event.repository.private }}
67+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
68+ with :
69+ egress-policy : audit
70+
6571 - name : Checkout devtools
6672 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6773 with :
@@ -94,6 +100,12 @@ jobs:
94100 runs-on : ubuntu-22.04
95101 timeout-minutes : 5
96102 steps :
103+ - name : Harden Runner
104+ if : ${{ !github.event.repository.private }}
105+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
106+ with :
107+ egress-policy : audit
108+
97109 - name : Checkout devtools
98110 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99111 with :
@@ -107,7 +119,6 @@ jobs:
107119 wget -q http://security.ubuntu.com/ubuntu/pool/main//d/doxygen/doxygen_1.8.6-2_amd64.deb
108120 sudo dpkg -i doxygen_1.8.6-2_amd64.deb
109121 sudo pip install LinkChecker
110-
111122 - name : Create build folder
112123 run : mkdir build
113124
@@ -188,6 +199,12 @@ jobs:
188199 runs-on : ubuntu-20.04
189200 timeout-minutes : 15
190201 steps :
202+ - name : Harden Runner
203+ if : ${{ !github.event.repository.private }}
204+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
205+ with :
206+ egress-policy : audit
207+
191208 - name : Install deps
192209 run : |
193210 sudo apt-get update
@@ -315,6 +332,12 @@ jobs:
315332 # fail-fast: true
316333 matrix : ${{ fromJson(needs.matrix_prep.outputs.matrix) }}
317334 steps :
335+ - name : Harden Runner
336+ if : ${{ !github.event.repository.private }}
337+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
338+ with :
339+ egress-policy : audit
340+
318341 - name : Install macos deps
319342 if : ${{ startsWith(matrix.runs_on, 'macos') }}
320343 run : |
@@ -354,7 +377,6 @@ jobs:
354377 run : |
355378 test -f ${installer_name} || wget -q ${arm_gcc_install_base}/${installer_name}
356379 tar -xvf ${installer_name}
357-
358380 - name : Setup ARM GCC for Windows
359381 if : ${{ startsWith(matrix.runs_on, 'windows') }}
360382 env :
@@ -469,6 +491,11 @@ jobs:
469491 strategy :
470492 fail-fast : true
471493 steps :
494+ - name : Harden Runner
495+ if : ${{ !github.event.repository.private }}
496+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
497+ with :
498+ egress-policy : audit
472499 - name : Install dependencies
473500 run : |
474501 sudo apt-get update
@@ -590,6 +617,12 @@ jobs:
590617 fail-fast : true
591618 matrix : ${{ fromJson(needs.matrix_prep.outputs.matrix) }}
592619 steps :
620+ - name : Harden Runner
621+ if : ${{ !github.event.repository.private }}
622+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
623+ with :
624+ egress-policy : audit
625+
593626 - name : Download cbuild_install
594627 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
595628 with :
@@ -609,12 +642,10 @@ jobs:
609642 echo "$AC5_TOOLCHAIN_ROOT" >> config
610643 echo "$GCC_TOOLCHAIN_ROOT" >> config
611644 ./cbuild_install.sh < config
612-
613645 - name : Test cbuildgen
614646 shell : bash
615647 run : |
616648 ${{ github.workspace }}/cbuild/bin/cbuildgen | grep "(cbuildgen): Build Process Manager"
617-
618649 sanity-check-docker :
619650 needs : create_installer
620651 timeout-minutes : 15
@@ -631,6 +662,12 @@ jobs:
631662 matrix :
632663 image : [ "debian:buster" ]
633664 steps :
665+ - name : Harden Runner
666+ if : ${{ !github.event.repository.private }}
667+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
668+ with :
669+ egress-policy : audit
670+
634671 - name : Download cbuild_install
635672 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
636673 with :
@@ -660,6 +697,12 @@ jobs:
660697 needs : [ tests ]
661698 runs-on : ubuntu-22.04
662699 steps :
700+ - name : Harden Runner
701+ if : ${{ !github.event.repository.private }}
702+ uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
703+ with :
704+ egress-policy : audit
705+
663706 - name : Event File
664707 uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
665708 with :
0 commit comments