-
-
Notifications
You must be signed in to change notification settings - Fork 9
feat: add outputs for changed modules in GitHub Action #151
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
feat: add outputs for changed modules in GitHub Action #151
Conversation
78346fe
to
2fcd238
Compare
2fcd238
to
6a77b55
Compare
…n checkoutWiki function
d05aefa
to
cd390fb
Compare
This fixes an issue for the node setup action
0915493
to
05ca2ab
Compare
05ca2ab
to
a7f9e26
Compare
Release PlanNo terraform modules updated in this pull request.
Powered by
|
|
This pull request includes several changes to the GitHub Actions workflows, README documentation, and source code to enhance the functionality and output of the CI process. The most important changes include adding new outputs to the GitHub Action, updating the
checkoutWiki
function to handle existing repositories, and modifying the test cases to validate the new behavior.Enhancements to GitHub Actions:
.github/workflows/ci.yml
: Added a new step to test action outputs, including checks for changed module names, paths, and maps, as well as all module names, paths, and maps.action.yml
: Added new outputs for changed module names, paths, and maps, as well as all module names, paths, and maps.Documentation updates:
README.md
: Added a new section detailing the available outputs from the action, including example output structures.Source code improvements:
src/main.ts
: Modified therun
function to set the new outputs for the GitHub Action and log the changes for debugging. RenamedhandleWikiOperations
tohandleReleasePlanComment
for clarity. [1] [2] [3]src/wiki.ts
: Updated thecheckoutWiki
function to initialize the repository only if it does not already exist and to update the remote URL if the origin already exists.Test case updates:
__tests__/wiki.test.ts
: Added a new test case to validate the behavior of updating the remote URL if the origin already exists. [1] [2]Fixes #24