diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index 386d13a..0f5535e 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -10,16 +10,8 @@ permissions: jobs: commit_lint: name: "Lint commit messages" - runs-on: ubuntu-latest - permissions: - id-token: write + runs-on: github-hosted-small steps: - - name: Harden the runner - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 - with: - egress-policy: block - policy: global-allowed-endpoints-policy - - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 with: fetch-depth: 0 diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9262146..a212330 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -6,19 +6,12 @@ name: Publish to npm on: [workflow_dispatch, workflow_call] permissions: - id-token: write contents: read jobs: build: - runs-on: ubuntu-latest + runs-on: github-hosted-small steps: - - name: Harden the runner - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 - with: - egress-policy: block - policy: global-allowed-endpoints-policy - - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: @@ -28,16 +21,8 @@ jobs: publish-npm: needs: build - runs-on: ubuntu-latest - permissions: - id-token: write + runs-on: github-hosted-small steps: - - name: Harden the runner - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 - with: - egress-policy: block - policy: global-allowed-endpoints-policy - - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: diff --git a/.github/workflows/pull_request_checks.yml b/.github/workflows/pull_request_checks.yml index 905fb6e..9e32438 100644 --- a/.github/workflows/pull_request_checks.yml +++ b/.github/workflows/pull_request_checks.yml @@ -7,16 +7,8 @@ on: jobs: lint: name: "Lint, Build and Test" - runs-on: ubuntu-latest - permissions: - id-token: write + runs-on: github-hosted-small steps: - - name: Harden the runner - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 - with: - egress-policy: block - policy: global-allowed-endpoints-policy - - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 - name: Installing dependencies