-
-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Create github-action #91
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
Merged
Merged
Conversation
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
- Move action.yml to github-action/action.yml for better organization - Create github-action/README.md optimized for GitHub Marketplace - Remove aws-profile input (not needed with aws-actions/configure-aws-credentials) - Add working-directory usage note in documentation - Update all workflow references to use ./github-action - Update docs to use macalbert/envilder/github-action@v1 BREAKING CHANGE: Action path changed from macalbert/envilder@v1 to macalbert/envilder/github-action@v1
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
- Add Envilder banner image - Add badges and centered header - Add emojis to all sections (🎮🏰🍄🌟⭐) - Add footer with Mario magic message - Make it match the CLI README style
- Remove INPUT_AWS_PROFILE reading from GitHubAction.ts - Remove aws-profile logging - Remove aws-profile test cases - Remove aws-profile from docs/github-action.md - Set profile to undefined (uses default AWS credentials) Fixes code review feedback - aws-profile input was removed from action.yml but code still referenced it
Correct references to the GitHub Action in documentation and code to ensure proper usage and clarity. This includes updating the action path in the README and test files to reflect the correct structure.
…lementation - Refactor action paths to use 'gha' subfolder - Introduce new GitHub Action logic for handling secrets - Add tests for GitHub Action functionality
…tup for tests - Enhance GitHub Action workflow to bundle the action and prevent duplicate publishes. - Introduce global setup for Vitest to build the GitHub Action bundle before tests.
- Added entries for GitHub Action support, documentation, and architecture updates. - Clarified security policy to indicate patches are only released for the latest version.
…ndling - Refactored the CLI entry point by moving the main execution logic from Cli.ts to a new index.ts file for better organization. - Updated package.json to reflect the new entry point. - Improved error handling by throwing errors instead of calling process.exit.
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
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.
What does this PR do?
This PR introduces the Envilder GitHub Action - a new composite action that enables seamless integration of AWS SSM Parameter Store secrets into GitHub Actions workflows.
Key Changes
🎯 New GitHub Action
github-action/action.yml) for pulling AWS SSM secrets into.envfilessrc/apps/gha/) dedicated to GitHub Action runtime🧪 Testing & Quality
e2e/gha.test.ts) simulating real GitHub Actions environmenttest-action.yml- Tests the action on every PRverify-action-build.yml- Ensures the bundled action stays up-to-datepublish-action.yml- Publishes action releases with version tags📦 Build & Tooling
pnpm-workspace.yamlfor better dependency managementbuild:gha- Bundles GitHub Action with nccverify:gha- Verifies action bundle is up-to-datepnpm-lock.yaml📚 Documentation
docs/github-action.md- Complete GitHub Action guidedocs/CHANGELOG.md- Full project changelog with conventional commits formatdocs/SECURITY.md- Security policy and best practicesdocs/architecture/README.md- Architecture documentation with diagramsdocs/conventional-commits.md- Commit message guidegithub-action/README.md- Action-specific README for GitHub Marketplace🔧 Configuration & CI
.commitlintrc.json) for conventional commits enforcement.markdownlintignorefor generated changelog.gitignorefor GitHub Action dist filesRelated issues
Implements GitHub Action support for Envilder
Type of change
Checklist
Notes for reviewer
New Feature Highlight 🌟
This PR adds a GitHub Action to the Envilder ecosystem, making it easy for teams to pull AWS SSM secrets directly in their CI/CD workflows:
Testing
github-action/dist/index.js) is verified in CIMigration to pnpm
Action Publishing
The action is bundled with
@vercel/nccto create a single optimized file, ensuring:The publish workflow (
publish-action.yml) handles version tagging and release creation automatically.