Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create codeql.yml #249

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Create codeql.yml #249

merged 1 commit into from
Jul 4, 2024

Conversation

Yuripetusko
Copy link
Member

@Yuripetusko Yuripetusko commented Jan 4, 2024

Description

Testing automated solidity code analysis on each PR using this: https://github.com/Decurity/semgrep-smart-contracts

Checklist

  • Verified code additions
  • Updated NatSpec comments (if applicable)
  • Regenerated docs
  • Ran prettier
  • Added tests to fully cover the changes

PR-Codex overview

This PR focuses on adding a GitHub Actions workflow to run Semgrep for scanning changed files in pull requests and on-demand.

Detailed summary

  • Added a new GitHub Actions workflow named "Run Semgrep"
  • Configured the workflow to scan changed files in pull requests and on-demand
  • Specified the job to run on Ubuntu latest
  • Used the returntocorp/semgrep Docker image for the job
  • Skipped PRs created by dependabot
  • Added steps to fetch project source and semgrep rules
  • Ran security and gas optimization rules using semgrep
  • Uploaded findings to GitHub Advanced Security Dashboard

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@steven2308 steven2308 merged commit 2d01a71 into master Jul 4, 2024
6 checks passed
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.

2 participants