Modernize Template - #25
Merged
Merged
Conversation
Replace deepakputhraya/action-branch-name (unmaintained since 2023, pinned to @master) with a native shell regex check. Update actions/checkout to v4 and commitlint-github-action to v6. Fix branch name regex typo (0-0 → 0-9), add least-privilege permissions, remove stale develop branch reference.
Convert from CommonJS to ESM, add sec type for security-related commits, and explicitly define all allowed commit types.
Add indent rules for JS/TS/CSS/Astro/JSON, align shell scripts with 2-space indent to match org standard, and simplify structure.
Add SECURITY.md with vulnerability reporting process and response timeline. Add CODEOWNERS assigning oss-maintainers as default reviewers.
config:base is a deprecated alias for config:recommended.
Add centered badges with license badge, replace tbd placeholder with template usage instructions, clean up link references, and update copyright year.
Update LICENSE copyright to 2026, bump actions/checkout to v6, and simplify SECURITY.md response timeline to 5 days.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces several improvements to project configuration, documentation, and repository standards. The main focus is on enhancing consistency, maintainability, and security practices across the repository. Key updates include a revamped README, improved commit and branch validation, new security policy documentation, and updated configuration files for tooling.
Repository standards and documentation:
README.mdwith clearer instructions, improved badge layout, and details about repository features such as commit conventions, branch validation, and dependency management.SECURITY.mdfile outlining the security policy, reporting process, and response timeline..github/CODEOWNERSto assign ownership to the maintainers team.LICENSEto include "2022-present".Tooling and configuration improvements:
commitlint.config.cjswith a newcommitlint.config.mjsusing modern syntax, expanded commit type validation, and a note for extending scopes. [1]R1, [2].editorconfigfor improved formatting consistency across file types, including new rules for JSON, JS/TS, and shell scripts..github/renovate.jsonto use the recommended Renovate configuration for dependency updates.CI/CD and workflow enhancements:
.github/workflows/git.ymlby switching to native shell validation for branch names, updating commitlint action versions, and refining workflow permissions and conditions.