Skip to content

[INFRA] Build Offical GasGuard GitHub Action Entrypoint #597

Description

@mijinummi

Labels: medium-difficulty, github-actions, devops
Difficulty: Medium
Module: .github/actions/gasguard-action/


🧠 Concept

Create a custom GitHub Action in .github/actions/gasguard-action/ that allows users to add GasGuard directly into their CI/CD workflows.

⚠️ Problem

To drive widespread adoption, developers need a simple uses: gasguard/action@v1 drop-in step for their repository pipelines.

📁 Implementation Scope

  • .github/actions/gasguard-action/action.yml
  • .github/actions/gasguard-action/index.js

🛠️ Requirements

  1. Support action inputs: file_path, config_path, fail_on_warning, comment_on_pr.
  2. Automatically post audit summary tables on active Pull Requests using the GitHub API.
  3. Fail pipeline step if severity thresholds are exceeded and fail_on_warning is true.

🎯 Acceptance Criteria

  • Action executes cleanly in GitHub workflow runners.
  • Annotates inline code diffs with optimization warnings.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions