diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index b73d95a0..0606723d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -18,6 +18,11 @@ jobs: environment: name: code_quality steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + egress-policy: audit + - name: Checkout repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 with: @@ -29,7 +34,7 @@ jobs: fix: true disable-rule: "service-image-require-explicit-tag" - name: Commit and push applied linter fixes - uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7 + uses: step-security/git-auto-commit-action@e2d505468267a3cb406af729d48d664de1f16393 # v6.0.2 if: success() || failure() with: commit_message: "[dclint] Apply linters fixes"