| name | dev-workflow |
|---|---|
| description | Use when setting up the dev environment, running build/test/docs, or understanding CI, branches, and gem release for this repo. |
- Cloning the repo or onboarding a new contributor
- Running tests, generating docs, or building the gem locally
- Understanding branch rules and GitHub Actions for this repository
- Ruby ≥ 3.1 (matches
s.required_ruby_versionincontentstack_utils.gemspec) - Bundler; install gems with
bundle install
- Run tests (default Rake task):
bundle exec rakeorbundle exec rake spec - RSpec directly:
bundle exec rspec(patternspec/**/*_spec.rbis configured inRakefile) - YARD API docs:
bundle exec rake yard(see.yardoptsfor included paths) - Build gem artifact:
gem build contentstack_utils.gemspec(also used in.github/workflows/release-gem.yml)
- Gem version lives in
lib/contentstack_utils/version.rbasContentstackUtils::VERSION - Document user-visible changes in
CHANGELOG.mdwhen releasing
.github/workflows/check-branch.ymlblocks merging intomasterunless the head branch isstaging(organizational policy). Prefer PRs that follow team conventions formaster/staging.- Use
CODEOWNERSfor required reviewers when applicable
- Release:
.github/workflows/release-gem.yml— on GitHub release created, builds and pushes to RubyGems (note: workflow pins Ruby 2.7 for publish; align with gemspec minimum when changing) - Security / compliance: CodeQL, policy scan, SCA scan — see
.github/workflows/ - Issues: Jira integration workflow in
.github/workflows/issues-jira.yml
.talismanrcis used for secret scanning hooks in some environments; do not commit credentials or tokens