Skip to content

Stop relying on githack URLs - #4956

Merged
kfranqueiro merged 2 commits into
mainfrom
kgf-replace-githack
Feb 27, 2026
Merged

kfranqueiro merged 2 commits into
mainfrom
kgf-replace-githack

Conversation

@kfranqueiro

Copy link
Copy Markdown
Contributor

This replaces all githack URLs, relied upon by our GitHub Actions and Netlify processes, with raw.githubusercontent.com URLs.

It seems that githack may have recently implemented an extra confirmation step before rendering documents; it's framed as end-user protection, but I have to imagine it might help alleviate load for them from bots as well.

spec-generator already has additional logic specifically to support raw.githubusercontent.com URLs when used with ReSpec, so switching these does not present a problem.

I tested each replaced URL locally. (/refs/heads/ is only included when referencing a branch, not a specific commit.)

@netlify

netlify Bot commented Feb 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit 95c8b42
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/69a1b2d8e22b720008d0a485
😎 Deploy Preview https://deploy-preview-4956--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kfranqueiro
kfranqueiro merged commit 005b1e6 into main Feb 27, 2026
6 checks passed
@kfranqueiro
kfranqueiro deleted the kgf-replace-githack branch February 27, 2026 15:08
kfranqueiro added a commit that referenced this pull request Aug 18, 2026
This effectively ports #4806 and #4956 to the workflow used for updating
the 2.1 ED.

I am backporting this as I noticed workflow failures while merging a
couple of 2.1-specific errata PRs.

There are other instances of old spec-generator and githack URLs in
`build.xml` and `.travis.yml`, but both seem to be in a state that must
not have been used in several years, as they also reference the `master`
branch (whereas `main` is the default branch now). As such, I am
intentionally not touching those files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants