Releases: High-Country-Dev/dotenv-vault-diff-action
Releases · High-Country-Dev/dotenv-vault-diff-action
Dotenv Vault Diff Action v1
Dotenv Vault Diff Action v1.0.0
We're excited to announce the first release of the Dotenv Vault Diff Action! This GitHub Action helps you track changes in your .env.vault file across different environments and provides a summary directly in your pull requests.
Features
- Automatically detects changes in the
.env.vaultfile when a pull request is opened, reopened, or updated. - Identifies which environments (CI, Development, Staging, Production) have been modified.
- Fetches and displays all versions created for each changed environment during the PR's lifetime.
- Posts a comment on the pull request with a summary of the changes.
- Updates the existing comment if the action is run multiple times on the same PR.
How It Works
- The action compares the
.env.vaultfile in the PR against the base branch. - It identifies which environments have changed.
- For each changed environment, it fetches all versions using
dotenv-vault versions. - It compiles this information into a concise summary.
- The summary is posted as a comment on the pull request.
Usage
To use this action in your workflow, add the following step:
- name: Dotenv Vault Diff
uses: high-country-dev/dotenv-vault-diff@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
dotenv-me: ${{ secrets.DOTENV_ME }}Requirements
- You need to have
dotenv-vaultCLI installed in your workflow. - The
DOTENV_MEsecret must be set in your repository secrets.
Feedback and Contributions
We welcome your feedback and contributions! If you encounter any issues or have suggestions for improvements, please open an issue in the repository.
Thank you for using the Dotenv Vault Diff Action. We hope it helps streamline your environment variable management process!