Repository navigation
deploy: a Workers preview per PR, production on merge, workflows locked down #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
oj-codes
wants to merge
6
commits into
main
Choose a base branch
from
tern/ci-hardening-20261112
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
747d6fa
deploy: a Workers preview per PR, production on merge, workflows lock…
a7b5769
checks: install the lockfile extension on the runner
aaa9ca7
deploy: a manual production run only from main, and a week of cooldow…
514baf1
deploy: Workers Builds runs previews and production, no Cloudflare cr…
0f602c1
wrangler: previews carry the commit vars and the version binding too
3434f20
deploy: previews build in a dev Cloudflare account, production builds…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # What stays out of the static asset upload. The repo root is the site, so without this | ||
| # list the working agreement, the checks and the review config would be served to anyone | ||
| # who asked for them, which GitHub Pages was doing until 12 November 2026. | ||
| .git | ||
| .github | ||
| .githooks | ||
| .claude | ||
| .wrangler | ||
| .DS_Store | ||
| .gitignore | ||
| .coderabbit.yaml | ||
| .assetsignore | ||
| *.md | ||
| CNAME | ||
| docs | ||
| functions | ||
| tools | ||
| lychee.toml | ||
| lighthouserc.json | ||
| wrangler.toml |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Keeps the workflow actions current. Each PR it opens updates the tag in the workflow and | ||
| # the matching commit in actions.lock together. There is nothing else to update: the site | ||
| # has no package manager by design. | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: weekly | ||
| day: monday | ||
| time: "07:00" | ||
| timezone: America/New_York | ||
| # A new release waits a week before Dependabot proposes it, so a hijacked tag that gets | ||
| # yanked in its first days never reaches a PR here. | ||
| cooldown: | ||
| default-days: 7 | ||
| groups: | ||
| actions: | ||
| patterns: ["*"] | ||
| commit-message: | ||
| prefix: "ci" | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| # This file is machine-generated by `gh actions-lock`. | ||
| # Do not edit by hand; run `gh actions-lock` to update. | ||
| # Docs: https://gh.io/actions-lockfile | ||
| version: 'v0.0.3' | ||
| workflows: | ||
| '.github/workflows/checks.yaml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'lycheeverse/lychee-action@v2.9.0' | ||
| - 'treosh/lighthouse-ci-action@12.6.2' | ||
| - 'zizmorcore/zizmor-action@v0.8.1' | ||
| '.github/workflows/ci.yaml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'actions/configure-pages@v6.0.0' | ||
| - 'actions/deploy-pages@v5.0.1' | ||
| - 'actions/upload-pages-artifact@v5.0.0' | ||
| '.github/workflows/scorecard.yaml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'github/codeql-action@v4.39.3' | ||
| - 'ossf/scorecard-action@v2.5.0' | ||
| dependencies: | ||
| 'actions/checkout@v7.0.1': | ||
| ref: 'v7.0.1' | ||
| commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/configure-pages@v6.0.0': | ||
| ref: 'v6.0.0' | ||
| commit: 'sha1-45bfe0192ca1faeb007ade9deae92b16b8254a0d' | ||
| owner_id: 44036562 | ||
| repo_id: 513659658 | ||
| 'actions/deploy-pages@v5.0.1': | ||
| ref: 'v5.0.1' | ||
| commit: 'sha1-368f82528645a54fb793d4d04e342629a3f51346' | ||
| owner_id: 44036562 | ||
| repo_id: 438112499 | ||
| 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f': | ||
| ref: 'v7.0.0' | ||
| commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' | ||
| owner_id: 44036562 | ||
| repo_id: 192625955 | ||
| 'actions/upload-pages-artifact@v5.0.0': | ||
| ref: 'v5.0.0' | ||
| commit: 'sha1-fc324d3547104276b827a68afc52ff2a11cc49c9' | ||
| owner_id: 44036562 | ||
| repo_id: 496012378 | ||
| uses: | ||
| - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' | ||
| 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370': | ||
| ref: 'v4.39.1' | ||
| commit: 'sha1-9b3254085494b55a0f7c4c2b3d2d52cc712ce370' | ||
| owner_id: 9919 | ||
| repo_id: 259445878 | ||
| 'github/codeql-action@v4.39.3': | ||
| ref: 'v4.39.3' | ||
| commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066' | ||
| owner_id: 9919 | ||
| repo_id: 259445878 | ||
| 'lycheeverse/lychee-action@v2.9.0': | ||
| ref: 'v2.9.0' | ||
| commit: 'sha1-e7477775783ea5526144ba13e8db5eec57747ce8' | ||
| owner_id: 74027027 | ||
| repo_id: 320929718 | ||
| 'ossf/scorecard-action@v2.5.0': | ||
| ref: 'v2.5.0' | ||
| commit: 'sha1-fa7117db83c52d787ae5a89f350999701505d78e' | ||
| owner_id: 67707773 | ||
| repo_id: 421101922 | ||
| 'treosh/lighthouse-ci-action@12.6.2': | ||
| ref: '12.6.2' | ||
| commit: 'sha1-3e7e23fb74242897f95c0ba9cabad3d0227b9b18' | ||
| owner_id: 30832600 | ||
| repo_id: 210552904 | ||
| 'zizmorcore/zizmor-action@v0.8.1': | ||
| ref: 'v0.8.1' | ||
| commit: 'sha1-45d7276c9ca790aabd705e31ca99c6185c3e76dd' | ||
| owner_id: 210636713 | ||
| repo_id: 985558803 | ||
| uses: | ||
| - 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370' |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.