Add step to extract runId from port_context in GitHub Actions workflow #2936
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.
User description
Description
I have modified docs/guides/all/scaffold-a-new-service.md to change add another step so that the github workflow will now handle the runId that it gets from Port self-service action correctly.
I have removed line 334 in the existing file and replace it with additions to lines 337-341 :
This is due to the fact that when i run the workflow in the documents i could not run the self service action due to workflow issue with line 334
Added docs pages
Updated docs pages
Please also include the path for the updated docs
PR Type
Bug fix, Documentation
Description
Replace direct port_context runId extraction with jq parsing step
Move PORT_RUN_ID extraction from env to workflow step
Fix GitHub Actions workflow self-service action execution issue
Update scaffold service documentation with corrected workflow syntax
Diagram Walkthrough
File Walkthrough
scaffold-a-new-service.md
Replace direct runId extraction with jq parsing stepdocs/guides/all/scaffold-a-new-service.md
PORT_RUN_IDextraction from env section usingfromJson(inputs.port_context).runIdto
GITHUB_ENVwith jq utility
Port