Skip to content

Fix CI breakages surfaced by PR #115 #116

Merged
mw-w merged 4 commits into
security/harden-cifrom
security/harden-ci-fixes
May 22, 2026
Merged

Fix CI breakages surfaced by PR #115 #116
mw-w merged 4 commits into
security/harden-cifrom
security/harden-ci-fixes

Conversation

@ermyas
Copy link
Copy Markdown
Collaborator

@ermyas ermyas commented May 22, 2026

This PR fixes CI breaking issues surfaced in PR #115

@ermyas ermyas requested a review from a team as a code owner May 22, 2026 04:19
@ermyas ermyas requested a review from mw-w May 22, 2026 04:20
@mw-w mw-w merged commit 6955215 into security/harden-ci May 22, 2026
7 of 8 checks passed
ermyas added a commit that referenced this pull request May 22, 2026
* Harden CI workflows and actions

- SHA-pin all external actions (checkout v6.0.2, setup-node v6.4.0, foundry-toolchain v1.8.0, slither-action v0.4.2)
- Remove custom PAT (ZKEVM_BRIDGE_CONTRACTS_GITHUB_TOKEN), use native github.token scoped to the coverage publish step
- Add permissions: {} at workflow level with least-privilege job-level permissions
- Add persist-credentials: false to all checkout steps
- Collapse four on-push workflows (e2e, lint, static-analysis, test) into a single ci.yml with parallel jobs
- Extract setup-node and setup-foundry composite actions to centralize SHA pins
- Remove borales/actions-yarn (yarn is pre-installed on runners) and node-cache action (replaced by setup-node built-in caching)
- Harden yarn install with --frozen-lockfile --ignore-scripts --non-interactive
- Rewrite coverage action in TypeScript (node16 → node20), using context.repo instead of hardcoded owner/repo, with ESLint + Rollup build toolchain on pnpm
- Add Dependabot configuration for github-actions and npm ecosystems
- Resolves all zizmor findings

* Fix CI breakages surfaced by PR #115  (#116)

* Fix formatting

* Fix variable name conflict

* Fix missing checkout for Slither CI job

* Fix E2E by using ts-node CJS register in mocharc

* Fix coverage CI by excluding invariant suite requiring localhost RPC

---------

Co-authored-by: Ermyas Abebe <ermyast@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants