From f196845146b6f826da06ec3c87e306fa36a29afa Mon Sep 17 00:00:00 2001 From: Maciej Golaszewski Date: Wed, 20 Nov 2024 10:22:09 +0100 Subject: [PATCH] remove harden-runner step --- .github/workflows/automatic-doc-checks.yml | 5 ----- .github/workflows/docs-spelling-checks.yml | 4 ---- .github/workflows/integration.yaml | 8 -------- .github/workflows/markdown.yaml | 4 ---- .github/workflows/nightly-test.yaml | 4 ---- .github/workflows/sync-images.yaml | 5 ----- 6 files changed, 30 deletions(-) diff --git a/.github/workflows/automatic-doc-checks.yml b/.github/workflows/automatic-doc-checks.yml index 58464a370..d3bba4576 100644 --- a/.github/workflows/automatic-doc-checks.yml +++ b/.github/workflows/automatic-doc-checks.yml @@ -12,11 +12,6 @@ concurrency: jobs: documentation-checks: - - name: Harden Runner - uses: step-security/harden-runner@v2 - with: - egress-policy: audit - uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main with: working-directory: 'docs/moonray' - diff --git a/.github/workflows/docs-spelling-checks.yml b/.github/workflows/docs-spelling-checks.yml index ac437948a..913ab75a8 100644 --- a/.github/workflows/docs-spelling-checks.yml +++ b/.github/workflows/docs-spelling-checks.yml @@ -12,10 +12,6 @@ jobs: spell-check: runs-on: ubuntu-latest steps: - - name: Harden Runner - uses: step-security/harden-runner@v2 - with: - egress-policy: audit - uses: actions/checkout@v4 - name: Install aspell run: sudo apt-get install aspell aspell-en diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index ce356bc9c..2aefbb939 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -53,10 +53,6 @@ jobs: name: Test Branch Management runs-on: ubuntu-20.04 steps: - - name: Harden Runner - uses: step-security/harden-runner@v2 - with: - egress-policy: audit - name: Check out code uses: actions/checkout@v4 with: @@ -81,10 +77,6 @@ jobs: needs: build steps: - - name: Harden Runner - uses: step-security/harden-runner@v2 - with: - egress-policy: audit - name: Check out code uses: actions/checkout@v4 - name: Setup Python diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml index 6e8801b30..2a8661e47 100644 --- a/.github/workflows/markdown.yaml +++ b/.github/workflows/markdown.yaml @@ -9,10 +9,6 @@ jobs: markdown-lint: runs-on: ubuntu-22.04 steps: - - name: Harden Runner - uses: step-security/harden-runner@v2 - with: - egress-policy: audit - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/nightly-test.yaml b/.github/workflows/nightly-test.yaml index dd6ce6395..3e7fd8972 100644 --- a/.github/workflows/nightly-test.yaml +++ b/.github/workflows/nightly-test.yaml @@ -20,10 +20,6 @@ jobs: runs-on: ${{ matrix.arch == 'arm64' && ["self-hosted", "Linux", "ARM64", "jammy", "large"] || ["self-hosted", "Linux", "AMD64", "jammy", "large"] }} steps: - - name: Harden Runner - uses: step-security/harden-runner@v2 - with: - egress-policy: audit - name: Checking out repo uses: actions/checkout@v4 - name: Install lxd and tox diff --git a/.github/workflows/sync-images.yaml b/.github/workflows/sync-images.yaml index b6de1d9b2..2b3247844 100644 --- a/.github/workflows/sync-images.yaml +++ b/.github/workflows/sync-images.yaml @@ -10,11 +10,6 @@ jobs: publish: runs-on: ubuntu-latest steps: - - name: Harden Runner - uses: step-security/harden-runner@v2 - with: - egress-policy: audit - - name: Checkout repository uses: actions/checkout@v4