Skip to content

Chore: Modernize repository and migrate default branch to main - #10

Merged
VAllens merged 9 commits into
mainfrom
master
Aug 11, 2026
Merged

Chore: Modernize repository and migrate default branch to main#10
VAllens merged 9 commits into
mainfrom
master

Conversation

@VAllens

@VAllens VAllens commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Description

Squashes recent updates to establish a clean main branch. This PR introduces comprehensive GitHub community standards, CI/CD workflows, and upgrades the codebase to .NET 10.

Key Updates

  • Repository: Migrated default branch from master to main.
  • Community: Added Code of Conduct, Contributing guidelines, Issue templates, and Security policy.
  • Automation: Integrated Dependabot, GitHub Actions CI, and optional Codex AI reviews.
  • Codebase: Upgraded to .NET 10, refactored Program.cs, and removed deprecated CarModel class.
  • Documentation: Overhauled README.md and added AGENTS.md for AI context.

This is a squash merge to keep the git history clean.

VAllens and others added 6 commits August 11, 2026 17:25
- Create CODEOWNERS file for code review ownership
- Add bug report and feature request issue templates
- Introduce Codex PR review rubric for pull requests
- Configure Dependabot for NuGet and GitHub Actions updates
- Set up CI workflow for building and testing on push and pull requests
- Implement optional Codex PR review workflow with OpenAI integration
- Update .gitignore to exclude additional build and user-specific files
- Add repository guidance for AI coding agents in AGENTS.md
- Establish Contributor Covenant Code of Conduct
- Create CONTRIBUTING.md with development setup and guidelines
- Update LICENSE to reflect new copyright holder
- Revise README.md for clarity and additional usage instructions
- Add SECURITY.md for reporting vulnerabilities
- Include sample output and project layout in README
- Add nuget.config for package source configuration
- Remove unused CarModel class and replace with RepoModel
- Update project file to target .NET 10 and include necessary packages
- Refactor Program.cs to improve structure and functionality
- Modify publish profiles for .NET 10 targeting
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v7...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 6.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 11, 2026 12:20
@cursor

cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Modernizes the repository into a more maintainable .NET sample by upgrading the console app to .NET 10, refreshing the crawling/extraction example, and adding standard community/automation scaffolding to support ongoing maintenance on the new default branch.

Changes:

  • Upgraded the console app to net10.0, refreshed dependencies, and refactored the crawler to extract GitHub repo data and serialize with System.Text.Json source generation.
  • Added repository governance + automation: CODE_OF_CONDUCT/CONTRIBUTING/SECURITY, issue templates, Dependabot, CI, and optional Codex PR review workflow.
  • Standardized repo configuration and docs (README.md, .editorconfig, nuget.config, .gitignore, publish profiles).

Reviewed changes

Copilot reviewed 22 out of 24 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/CrawlerSamples.ConsoleApp/RepoModel.cs Adds repo data model and System.Text.Json source-gen context.
src/CrawlerSamples.ConsoleApp/Properties/PublishProfiles/PublishWin86ReleaseToLocalFolder.pubxml Updates publish profile to net10.0 and single-file settings (x86).
src/CrawlerSamples.ConsoleApp/Properties/PublishProfiles/PublishWin64ReleaseToLocalFolder.pubxml Updates publish profile to net10.0 and single-file settings (x64).
src/CrawlerSamples.ConsoleApp/Program.cs Refactors the sample crawl/parse flow to target GitHub repos and output JSON.
src/CrawlerSamples.ConsoleApp/CrawlerSamples.ConsoleApp.csproj Moves app to net10.0, updates packages, enables stricter build settings.
src/CrawlerSamples.ConsoleApp/CarModel.cs Removes deprecated car scraping model.
SECURITY.md Adds security policy guidance for reporting and scope.
README.md Overhauls documentation for new target, output format, and .NET 10 usage.
nuget.config Pins package sources to nuget.org.
LICENSE Updates license header attribution/year range.
CONTRIBUTING.md Adds contributor setup and PR guidelines aligned with updated sample.
CODE_OF_CONDUCT.md Adds Contributor Covenant code of conduct.
AGENTS.md Adds AI-agent guidance for working in this repo.
.gitignore Updates ignore list based on standard Visual Studio ignores.
.github/workflows/codex-review.yml Adds optional Codex PR review workflow.
.github/workflows/ci.yml Adds CI build/publish workflow.
.github/ISSUE_TEMPLATE/feature_request.yml Adds feature request issue form.
.github/ISSUE_TEMPLATE/bug_report.yml Adds bug report issue form.
.github/dependabot.yml Enables Dependabot for NuGet and GitHub Actions.
.github/codex/prompts/review.md Adds a Codex review rubric specific to this sample.
.github/CODEOWNERS Adds default code owner for review routing.
.editorconfig Establishes consistent formatting/coding conventions repo-wide.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread AGENTS.md Outdated
Comment thread SECURITY.md Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread README.md Outdated
Comment thread src/CrawlerSamples.ConsoleApp/Program.cs Outdated
VAllens and others added 2 commits August 11, 2026 05:24
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@VAllens
VAllens merged commit 2e64d75 into main Aug 11, 2026
5 checks passed
@VAllens
VAllens deleted the master branch August 11, 2026 12:35
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