From 192c34be7522c132bfa39650970ed59fcc9a6e19 Mon Sep 17 00:00:00 2001 From: Nikolai Emil Damm Date: Sat, 25 Apr 2026 17:11:42 +0200 Subject: [PATCH] fix(workflows): revert step-security actions to original authors Remove harden-runner steps (trial expired). Replace step-security forks with original upstream actions using SHA pinning. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 27 +------------------ .../report-repos-with-multi-admin-teams.yml | 5 ---- .../report-repos-with-no-admin-team.yml | 5 ---- .../workflows/report-repos-with-no-team.yml | 5 ---- 4 files changed, 1 insertion(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8df473f..9bd2b06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -61,11 +56,6 @@ jobs: permissions: contents: read steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -105,11 +95,6 @@ jobs: permissions: contents: read steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -154,11 +139,6 @@ jobs: permissions: contents: write steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Generate GitHub App Token uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1 id: generate-token @@ -202,7 +182,7 @@ jobs: done - name: Commit and push changes - uses: step-security/git-auto-commit-action@905c3cd6e9ed2b67b4d46ff401fdb6d745d0ff9d # v7.1.0 + uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0 with: commit_message: "chore: auto-fix lockfile and formatting" branch: ${{ github.head_ref }} @@ -215,11 +195,6 @@ jobs: needs: [ci, auto-commit] permissions: {} steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Verify required checks passed env: CI_RESULT: ${{ needs.ci.result }} diff --git a/.github/workflows/report-repos-with-multi-admin-teams.yml b/.github/workflows/report-repos-with-multi-admin-teams.yml index 5a0e4e7..e262a98 100644 --- a/.github/workflows/report-repos-with-multi-admin-teams.yml +++ b/.github/workflows/report-repos-with-multi-admin-teams.yml @@ -20,11 +20,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: diff --git a/.github/workflows/report-repos-with-no-admin-team.yml b/.github/workflows/report-repos-with-no-admin-team.yml index 02bd433..9cfc75e 100644 --- a/.github/workflows/report-repos-with-no-admin-team.yml +++ b/.github/workflows/report-repos-with-no-admin-team.yml @@ -20,11 +20,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: diff --git a/.github/workflows/report-repos-with-no-team.yml b/.github/workflows/report-repos-with-no-team.yml index 4ac9004..95490e9 100644 --- a/.github/workflows/report-repos-with-no-team.yml +++ b/.github/workflows/report-repos-with-no-team.yml @@ -20,11 +20,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 - with: - egress-policy: audit - - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: