Skip to content

ci: update to improved check-coverage action#5

Merged
benceharomi merged 2 commits intomainfrom
bence/sol-169-update-check-coverage-ci-in-email-as-ens
Jul 1, 2025
Merged

ci: update to improved check-coverage action#5
benceharomi merged 2 commits intomainfrom
bence/sol-169-update-check-coverage-ci-in-email-as-ens

Conversation

@benceharomi
Copy link
Copy Markdown
Member

@benceharomi benceharomi commented Jun 27, 2025

Update the check-coverage CI job with the improved version: zkemail/solidity-template#2

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 27, 2025

📊 Coverage Report

Metric Coverage Required Status
Lines 96.37% 90% ✅ Above threshold

Details: 292 of 303 lines covered.

@benceharomi benceharomi marked this pull request as ready for review June 30, 2025 11:52
Copilot AI review requested due to automatic review settings June 30, 2025 11:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the existing coverage check by updating the CI workflow and improving the check-coverage composite action.

  • Restricts CI push events to the main branch and passes GITHUB_TOKEN to the action.
  • Adds input validation, debug logging, error handling, and PR comment creation/updating in the composite action.
  • Switches to awk for coverage parsing and ensures failures are surfaced correctly.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci.yaml Limit push events to main and supply the github-token input for PR comment operations.
.github/actions/check-coverage/action.yaml Add token input, validations, debug logs, AWK-based parsing, and PR comment logic.
Comments suppressed due to low confidence (1)

.github/workflows/ci.yaml:1

  • This workflow uses the action to post PR comments but doesn’t grant the necessary pull-requests: write permission to the GITHUB_TOKEN. Please add a permissions: block (e.g., permissions: pull-requests: write) at the top of this workflow to ensure the action can create and update comments.
name: CI

@zkfriendly zkfriendly self-requested a review June 30, 2025 13:53
Copy link
Copy Markdown
Collaborator

@zkfriendly zkfriendly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benceharomi benceharomi merged commit a22794a into main Jul 1, 2025
5 checks passed
@benceharomi benceharomi deleted the bence/sol-169-update-check-coverage-ci-in-email-as-ens branch July 1, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants