diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 162dce2..65103f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,10 @@ jobs: runs-on: [ubuntu-latest] container: ghcr.io/philips-software/amp-devcontainer-cpp:v6.0.2@sha256:36afaaa5ba4bc4e9bb471012db9733c26a210e315ddb33600f73bb9532b02a25 # 6.0.2 steps: + - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + disable-sudo-and-containers: true + egress-policy: audit - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 if: ${{ matrix.target == 'windows' }} id: cache-winsdk diff --git a/.github/workflows/flex-build-push.yml b/.github/workflows/flex-build-push.yml index f72962e..2d36fa4 100644 --- a/.github/workflows/flex-build-push.yml +++ b/.github/workflows/flex-build-push.yml @@ -22,6 +22,10 @@ jobs: packages: write pull-requests: write steps: + - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + disable-sudo: true + egress-policy: audit - uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0 id: metadata env: diff --git a/.github/workflows/linting-formatting.yml b/.github/workflows/linting-formatting.yml index 46a9254..548a038 100644 --- a/.github/workflows/linting-formatting.yml +++ b/.github/workflows/linting-formatting.yml @@ -23,6 +23,10 @@ jobs: pull-requests: write security-events: write steps: + - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + disable-sudo: true + egress-policy: audit - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 diff --git a/.github/workflows/pr-conventional-title.yml b/.github/workflows/pr-conventional-title.yml index dee21af..6d09971 100644 --- a/.github/workflows/pr-conventional-title.yml +++ b/.github/workflows/pr-conventional-title.yml @@ -16,6 +16,10 @@ jobs: permissions: pull-requests: write steps: + - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + disable-sudo-and-containers: true + egress-policy: audit - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 id: pr-title with: diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index bcd7e26..4e67393 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -18,6 +18,10 @@ jobs: name: Create Release runs-on: ubuntu-latest steps: + - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + disable-sudo-and-containers: true + egress-policy: audit - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6 id: token with: