feat: automating the references and their injection in the wiki#246
Open
farah-t-trigui wants to merge 1 commit intomainfrom
Open
feat: automating the references and their injection in the wiki#246farah-t-trigui wants to merge 1 commit intomainfrom
farah-t-trigui wants to merge 1 commit intomainfrom
Conversation
8ba28f8 to
90236dd
Compare
90236dd to
0cc91f5
Compare
eskenazit
requested changes
Apr 7, 2026
|
|
||
| echo "Cloning wiki" | ||
| git clone "$GIT_REPOSITORY_URL" "$tmp_dir" || mkdir -p "$tmp_dir" | ||
|
|
Contributor
There was a problem hiding this comment.
|| mkdir -p "$tmp_dir" is masking a potential git clone error. push wil then likely fail later on wirhout giving any clue on why. We should rather exit properly at that level if git clone is failing.
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| RELEASE_TAG=$(gh release list --limit 1 --json tagName -q '.[0].tagName' 2>/dev/null || echo "unreleased") |
Contributor
There was a problem hiding this comment.
If the action cannot find any release it is pointless and should exit immedialtely ! =)
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
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.
Related Issue
Closes #224
What does this PR do?
This PR introduces placeholder-based variable injection into the wiki publishing pipeline:
{{RELEASE_TAG}}and{{DOCKER_TAG}}placeholders in the relevant wiki markdown files (Installation.md,Specification-Schema.md,Specification-Rules.md,Tutorial-Part-1.md)Publish WikiGitHub Actions workflow to:.mdfiles before pushing to the wikiChecklist
main