Skip to content

Add RISE program page#138

Merged
yqtian-se merged 2 commits into
acmsigsoft:mainfrom
yqtian-se:main
May 25, 2026
Merged

Add RISE program page#138
yqtian-se merged 2 commits into
acmsigsoft:mainfrom
yqtian-se:main

Conversation

@yqtian-se
Copy link
Copy Markdown
Contributor

also a checker to verify the links.

@github-actions
Copy link
Copy Markdown

Preview deployed at: https://www2.sigsoft.org/pr-138

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.md and 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 [];
}
@github-actions
Copy link
Copy Markdown

Preview deployed at: https://www2.sigsoft.org/pr-138

@yqtian-se yqtian-se merged commit 58f1e4d into acmsigsoft:main May 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants