Skip to content

183 semver pattern without v prefix #227

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

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

virgofx
Copy link
Member

@virgofx virgofx commented Jun 16, 2025

No description provided.

virgofx added 12 commits June 13, 2025 00:11
- Add ACTION_INPUTS mapping for all GitHub Action inputs
- Add createConfigFromInputs() function for dynamic config creation
- Implement proper array parsing that distinguishes required vs optional
- Required array inputs throw error on empty string
- Optional array inputs return empty array on empty string
- Add comprehensive type definitions for action metadata
- Replace manual input processing with createConfigFromInputs()
- Add comprehensive validation for tag directory separator
- Add validation for default first tag format
- Simplify config initialization using metadata-driven approach
- Update config mock to use real action metadata system
- Improve error messages with more specific validation details
- Refactor input helpers to use centralized ACTION_INPUTS metadata
- Add getActionDefaults() to load defaults from action.yml
- Generate input type arrays dynamically from metadata
- Add getConfigKey() helper for type-safe config access
- Simplify setupTestInputs() to use action.yml defaults
- Remove hardcoded input arrays in favor of metadata-driven approach
- Add tests for tag directory separator validation (length and character)
- Add tests for default first tag format validation
- Add tests for required vs optional array input handling
- Add tests for array parsing edge cases and deduplication
- Improve test organization with metadata-driven approach
- Achieve 100% test coverage for config.ts validation logic
- Set up required GitHub environment variables in context tests
- Fix test isolation by properly clearing context between tests
- Ensure environment variables are set before context initialization
- Resolve test failures caused by missing GitHub Action environment
@virgofx virgofx marked this pull request as draft June 16, 2025 17:01
virgofx added 3 commits June 19, 2025 03:55
- Removed deprecated action-metadata types and utility functions.
- Introduced new metadata structure for action inputs in `metadata.ts`.
- Updated configuration handling to support dynamic input mapping.
- Enhanced tag processing to accommodate various directory separators.
- Added tests for metadata input handling and error scenarios.
- Improved regex patterns for module tag validation.
- Updated action.yml to include new input parameters for tag directory separator and version prefix usage.
- Refactored TerraformModule class to utilize new configuration settings for versioning.
@virgofx virgofx force-pushed the 183-semver-pattern-without-v-prefix branch 4 times, most recently from cb497ba to 2d7550c Compare June 24, 2025 18:32
… and examples for directory separator and version prefix options
@virgofx virgofx force-pushed the 183-semver-pattern-without-v-prefix branch from 2d7550c to a43d686 Compare June 25, 2025 21:07
Copy link

📋 Release Plan

Module Type Latest
Version
New
Version
Release
Details
tf-modules-animal patch 1.0.0 🆕 Initial Release
tf-modules-kms patch 1.0.0 🆕 Initial Release
tf-modules-s3-bucket-object patch 1.0.0 🆕 Initial Release
tf-modules-vpc-endpoint patch 1.0.0 🆕 Initial Release
tf-modules-zoo patch 1.0.0 🆕 Initial Release

📝 Changelog

tf-modules-animal-1.0.0 (2025-06-25)

  • 🔀PR #227 - 183 semver pattern without v prefix

tf-modules-kms-1.0.0 (2025-06-25)

  • 🔀PR #227 - 183 semver pattern without v prefix

tf-modules-s3-bucket-object-1.0.0 (2025-06-25)

  • 🔀PR #227 - 183 semver pattern without v prefix

tf-modules-vpc-endpoint-1.0.0 (2025-06-25)

  • 🔀PR #227 - 183 semver pattern without v prefix

tf-modules-zoo-1.0.0 (2025-06-25)

  • 🔀PR #227 - 183 semver pattern without v prefix

Wiki Statusℹ️

✅ Enabled

Automated Tag/Release Cleanupℹ️

⏸️ Existing tags and releases will be preserved as the delete-legacy-tags flag is disabled.

Powered by:   techpivot/terraform-module-releaser

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
3.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@virgofx virgofx mentioned this pull request Jul 11, 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

Successfully merging this pull request may close these issues.

1 participant