Skip to content

Commit

Permalink
chore: ensure non-cached response in doc versions audit
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Nov 19, 2024
1 parent e8bf718 commit 6aa1c78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/audit-docs-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
const DOCS_SHA_REGEX = /<meta name="docs-sha" content="(\w+)">/m;
const DELTA_THRESHOLD_MS = 1000*60*20;
const resp = await fetch('https://electronjs.org');
const resp = await fetch('https:/.electronjs.org', {
headers: {
'Cache-Control': 'no-cache'
}
});
if (!resp.ok) {
core.setFailed('Could not fetch website');
Expand Down

0 comments on commit 6aa1c78

Please sign in to comment.