Skip to content

#CI/CD configuration types #80

@Dargon789

Description

@Dargon789

Reviewer's Guide

This PR upgrades a core dependency and establishes foundational CI/CD and project governance infrastructure by adding a Fortify AST security scan workflow, a CircleCI config, and standard GitHub issue templates.

Class diagram for CI/CD configuration types

classDiagram
  class Fortify_AST_Scan_Workflow {
    +push
    +pull_request
    +schedule
    +workflow_dispatch
    +Fortify-AST-Scan_Job
  }
  class Fortify_AST_Scan_Job {
    +runs-on: ubuntu-latest
    +permissions: actions, contents, security-events
    +steps: checkout, setup-java, run-sast-scan
  }
  class CircleCI_Config {
    +version: 2.1
    +executors: my-custom-executor
    +jobs: web3-defi-game-project-
    +workflows: my-custom-workflow
  }
  class my_custom_executor {
    +docker: cimg/base:stable
    +auth: DOCKER_HUB_USER, DOCKER_HUB_PASSWORD
  }
  class web3_defi_game_project_Job {
    +executor: my-custom-executor
    +steps: checkout, run
  }
  Fortify_AST_Scan_Workflow --> Fortify_AST_Scan_Job
  CircleCI_Config --> my_custom_executor
  CircleCI_Config --> web3_defi_game_project_Job
  web3_defi_game_project_Job --> my_custom_executor
Loading

File-Level Changes

Change Details Files
Dependency version bump for React Query
  • Upgrade @tanstack/react-query from 5.45.1 to 5.64.2
wagmi-project/package.json
Add Fortify AST security scan workflow
  • Introduce GitHub Actions workflow to run Fortify SAST
  • Configure triggers on push, pull_request, and scheduled cron
  • Define steps for checkout, Java setup, and scan execution
.github/workflows/fortify.yml
Add CircleCI pipeline configuration
  • Define CircleCI config version 2.1
  • Set up custom executor and skeleton job definition
.circleci/config.yml
Add GitHub issue templates
  • Create bug_report.md template
  • Create feature_request.md template
  • Create custom.md template
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/custom.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Originally posted by @sourcery-ai[bot] in #79 (comment)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency filedocumentationImprovements or additions to documentationduplicateThis issue or pull request already existsenhancementNew feature or requestgood first issueGood for newcomersinvalidThis doesn't seem rightjavascriptPull requests that update javascript codequestionFurther information is requestedwontfixThis will not be worked on

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions