Migrating Hugo modules and Discourse data updates worflows - #969
Open
MuhammadAashirAslam wants to merge 3 commits into
Open
Migrating Hugo modules and Discourse data updates worflows#969MuhammadAashirAslam wants to merge 3 commits into
MuhammadAashirAslam wants to merge 3 commits into
Conversation
MuhammadAashirAslam
added a commit
to MuhammadAashirAslam/precice.github.io
that referenced
this pull request
Aug 13, 2026
MakisH
reviewed
Aug 13, 2026
Comment on lines
+38
to
+41
| if git diff --cached --quiet; then | ||
| echo "Discourse data is already up to date." | ||
| exit 0 | ||
| fi |
Member
There was a problem hiding this comment.
In the current approach, the workflow is a bit more verbose than needed, because of the following fields:
"generated_at": "2026-08-12T07:18:28.922820","views": 2451,
Could we exclude these?
Member
There was a problem hiding this comment.
Note that other repositories trigger the update-submodules.yml. Maybe keep the same name?
https://github.com/precice/tutorials/blob/develop/.github/workflows/update-website.yml
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
Suppressed comments (1)
.github/workflows/update-hugo-modules.yml:1
- The retired workflow is still the documented update path:
content/docs/docs-meta/overview.md:136-151tells contributors to manage submodules and links directly toupdate-submodules.yml, whileREADME.md:22-28also instructs them to update submodules. Once this workflow is deleted, that link is dead and following the documented process will not update the Hugo modules. Please migrate these instructions tomodule.toml/go.modand the new workflow as part of this change.
name: Update Hugo modules
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.
Replaces the obsolete submodule updater with automated Hugo Module synchronization using go.mod and go.sum. Updates the Discourse news and FAQ data workflows for Hugo’s static/assets paths, and removes the retired submodule workflow.