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

Protect Branches and Enforce Rules in Beckn-Onix Repositories #386

Open
12 tasks
viraj89 opened this issue Jan 30, 2025 · 0 comments
Open
12 tasks

Protect Branches and Enforce Rules in Beckn-Onix Repositories #386

viraj89 opened this issue Jan 30, 2025 · 0 comments

Comments

@viraj89
Copy link

viraj89 commented Jan 30, 2025

Description

To improve repository security and maintain code quality, we need to protect critical branches, enforce merging rules, and implement automated linting and ownership management.
Refer to the detailed specifications and merging rules in the following document:
Beckn-Onix Repository Guidelines

Goals

  • Mark beckn-onix-v1.0 branch as protected and enforce merging rules.
  • Create a protected dev branch and enforce merging rules.
  • Add a CODEOWNERS file to all repositories for ownership enforcement.
  • Add .golangci.yml file for linting as specified in the linting section.
  • Add the specified GitHub Action for automation.
  • Add a dummy commit to test the newly implemented workflow.

Expected Outcome

  • beckn-onix-v1.0 and dev branches are protected with enforced rules.
  • Ownership enforcement is implemented across repositories.
  • Automated linting and GitHub Actions function correctly.
  • A successful test commit verifies the setup.

Acceptance Criteria

  • beckn-onix-v1.0 branch protection is verified.
  • dev branch protection is verified.
  • CODEOWNERS file exists and is enforced.
  • .golangci.yml file is added and functional.
  • GitHub Action is successfully implemented.
  • Dummy commit successfully tests the setup.

Mockups / Wireframes

NA

Product Name

Beckn

Domain

TBD

Tech Skills Needed

GitHub, GitHub Actions, Branch Protection, GoLangCI, Repository Management

Complexity

Medium

Category

Infrastructure

Sub Category

Repository Management

@viraj89 viraj89 changed the title CI / CD pipeline Protect Branches and Enforce Rules in Beckn-Onix Repositories Jan 31, 2025
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

No branches or pull requests

1 participant