Add RISE program page#138
Merged
Merged
Conversation
|
Preview deployed at: https://www2.sigsoft.org/pr-138 |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new “RISE” program page to the Hugo site and introduces a CI link-checker that validates internal links for files changed in a deploy/preview build.
Changes:
- Added
content/rise/RISE.mdand linked it from the Activities overview page. - Added “RISE” to the site’s Programs menu (
config.toml). - Added a Node-based internal link checker script and ran it in both production deploy and PR preview workflows.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/check-changed-links.mjs |
New script to extract links from changed content/config files and verify internal targets exist (content refs and built public/ paths). |
content/rise/RISE.md |
New RISE program/task force page content. |
content/activities/overview.md |
Adds RISE entry to the activities list. |
config.toml |
Adds RISE to the “Programs” menu and shifts menu weights accordingly. |
.github/workflows/production-deploy.yml |
Runs the internal link checker during production builds. |
.github/workflows/pr-preview.yml |
Ensures full git history is available for PR diffing and runs the internal link checker for previews. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+66
to
+70
| - name: Check internal links | ||
| env: | ||
| SITE_BASE_URL: ${{ steps.pages.outputs.base_url }}/ | ||
| run: node scripts/check-changed-links.mjs | ||
|
|
Comment on lines
+124
to
+134
| function gitChangedFiles() { | ||
| const baseRef = process.env.LINK_CHECK_BASE_REF; | ||
| const args = baseRef ? ["diff", "--name-only", `${baseRef}...HEAD`] : ["diff", "--name-only", "HEAD^", "HEAD"]; | ||
|
|
||
| try { | ||
| return execFileSync("git", args, { encoding: "utf8" }) | ||
| .split(/\r?\n/) | ||
| .filter(Boolean); | ||
| } catch { | ||
| return []; | ||
| } |
|
Preview deployed at: https://www2.sigsoft.org/pr-138 |
CaptainEmerson
approved these changes
May 25, 2026
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.
also a checker to verify the links.