Skip to content

Commit 69db06d

Browse files
stepsecurity-app[bot]exploreriii
authored andcommitted
chore: [StepSecurity] Apply security best practices (hiero-ledger#2092)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com> Co-authored-by: exploreriii <133720349+exploreriii@users.noreply.github.com>
1 parent 649cb0f commit 69db06d

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
schedule:
1111
- cron: "28 23 * * *" # Runs every day at 23:28 UTC.
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
analyze:
1518
name: Analyze (${{ matrix.language }})

.github/workflows/pr-check-secondary-unit-integration-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ jobs:
174174
if: always()
175175

176176
steps:
177+
- name: Harden the runner (Audit all outbound calls)
178+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
179+
with:
180+
egress-policy: audit
181+
177182
- name: Print summary and fail when any test job failed
178183
shell: bash
179184
run: |

.github/workflows/sync-issue-labels-compute.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ jobs:
190190
if: ${{ needs.compute-labels.outputs.is_fork_pr != 'true' }}
191191
runs-on: ubuntu-latest
192192
steps:
193+
- name: Harden the runner (Audit all outbound calls)
194+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
195+
with:
196+
egress-policy: audit
197+
193198
- name: Trigger add workflow
194199
uses: step-security/workflow-dispatch@acca1a315af3bf7f33dd116d3cb405cb83f5cbdc # v1.2.8
195200
with:

0 commit comments

Comments
 (0)