github-actions[bot]
ebbaa15849
Automatic compilation
2026-05-12 20:35:02 +00:00
Eric Clemmons
a61fbea322
Merge pull request #429 from cloudflare/changeset-release/main
...
Version Packages
2026-05-12 15:34:29 -05:00
github-actions[bot]
e804ea3dfd
Version Packages
2026-05-12 18:20:02 +00:00
Eric Clemmons
8d0324a88e
fix: update release workflow to v5 actions and regenerate lockfile
2026-05-12 13:19:37 -05:00
Eric Clemmons
2f18b18a46
Merge pull request #431 from cloudflare/fix/semgrep-blocking-findings
...
fix: address Semgrep blocking findings
2026-05-12 13:10:33 -05:00
Eric Clemmons
622ff0d765
fix: upgrade checkout and setup-node to v5 for Node 24 runtime
2026-05-12 13:02:33 -05:00
Eric Clemmons
f501f05fbd
fix: force GitHub actions to run on Node 24 via env var
2026-05-12 13:01:47 -05:00
Eric Clemmons
f990691b6b
fix: resolve npm audit vulnerabilities via undici override and vitest v3
2026-05-12 11:58:45 -05:00
Eric Clemmons
652762d3f6
fix: migrate action runtime from node20 to node24
2026-05-12 11:43:52 -05:00
Eric Clemmons
bd3f4f0b30
fix: add retry support to worker health check using better-result
...
Replace manual fetch() with Result.tryPromise from better-result,
which provides built-in retry with exponential backoff. This handles
the transient 404s that occur immediately after wrangler deploy due
to edge propagation delays.
- Rename workerHealthCheck.cjs -> .mjs for ESM support
- Add better-result as devDependency
- Update deploy.yml to invoke .mjs file
- Retry up to 5 times with 2s exponential backoff
2026-05-11 16:35:22 -05:00
Eric Clemmons
38dbf5b59f
Merge pull request #428 from cloudflare/hrushikesh/add-semgrep-oss-workflow
...
ci: add Semgrep OSS scanning workflow
2026-05-11 15:04:44 -05:00
Eric Clemmons
cdf65921e0
ci: pin pnpm to v10 to fix build script failures
2026-05-11 14:55:57 -05:00
Eric Clemmons
bfdfae5e0f
fix: address Semgrep blocking findings
...
- Replace execSync(`curl`) with native fetch() in workerHealthCheck.cjs
to resolve javascript.lang.security.detect-child-process finding.
- Run npm audit fix to update rollup 4.34.4 -> 4.60.3 and vite 5.4.14 -> 5.4.21,
resolving CVE-2026-27606 and other supply chain vulnerabilities.
2026-05-11 14:51:16 -05:00
Eric Clemmons
a3edea85f7
style: fix prettier formatting in semgrep.yml
2026-05-11 14:10:07 -05:00
Eric Clemmons
b6290ea70c
Merge pull request #412 from cloudflare/BANDA-1664/wrangler-v4-support
...
Update default Wrangler version to v4.x
2026-05-11 13:55:58 -05:00
Eric Clemmons
65553b39e6
Clarify v4@latest is installed, not 4.72.0
...
Co-authored-by: Eric Clemmons <eric@smarterspam.com >
2026-04-26 13:56:44 -05:00
Hrushikesh Deshpande
4f154b96e0
ci: add Semgrep OSS scanning workflow
2026-04-23 18:36:26 -04:00
Somhairle MacLeòid
5f269ee58e
Merge pull request #424 from ulgens/update-docs-checkout-action
...
Update actions/checkout in example code blocks
2026-04-17 12:00:59 +01:00
Eric Clemmons
d181764e4b
Merge pull request #427 from cloudflare/changeset-release/main
...
Version Packages
2026-04-15 15:48:16 -05:00
Eric Clemmons
3c924dd85f
Default to 4, not 4.72.0
2026-04-15 15:39:44 -05:00
Eric Clemmons
c1f90e624b
major, not minor, version bump
2026-04-15 15:39:04 -05:00
github-actions[bot]
0501554080
Version Packages
2026-04-15 19:40:15 +00:00
Eric Clemmons
d8f3eaa359
Merge pull request #426 from cloudflare/willtaylor/escalation-963-support-version-ranges
...
Support version ranges and tags in wranglerVersion input
2026-04-15 14:39:45 -05:00
Will Taylor
febbda69f8
Support version ranges and tags in wranglerVersion input
...
The wranglerVersion input only accepted exact versions like '4.81.0'.
Setting it to a major version like '4', a range like '^4.0.0', or a
tag like 'latest' crashed with 'Invalid Version' during secret
uploads. npm installed the right version fine, but subsequent version
comparisons failed because they expected exact X.Y.Z format.
After installing wrangler, the action now runs wrangler --version to
get the concrete installed version and uses that for all version
comparisons. If version detection fails and the user gave an exact
version, the action falls back to using it directly, preserving
existing behavior.
Pre-installed versions that satisfy a range skip reinstallation.
Fixes #390
Relates to #366
Relates to #379
2026-04-15 14:40:29 -04:00
Ülgen Sarıkavak
59b83385d8
Update actions/checkout in example code blocks
...
Similar to https://github.com/cloudflare/cloudflare-docs/pull/29846
2026-04-14 18:04:30 +03:00
Eric Clemmons
dd8ea1b72d
Clarify Wrangler v3 Support
...
Co-authored-by: Ben <4991309+NuroDev@users.noreply.github.com >
2026-03-24 15:36:43 -05:00
Eric Clemmons
1029e90033
Update default Wrangler version to v4 (4.72.0)
...
The action now defaults to Wrangler v4 instead of v3. All existing
version-gated logic (secret upload, deploy vs publish) correctly
handles v4. Users can pin to v3 via wranglerVersion input.
Closes BANDA-1664
2026-03-12 17:51:09 -05:00
Maximo Guk
707f637509
Merge pull request #359 from cloudflare/changeset-release/main
...
Version Packages
2025-03-14 21:01:10 -05:00
github-actions[bot]
e764ef3355
Version Packages
2025-03-15 01:57:01 +00:00
Maximo Guk
8d761e6bdc
Merge pull request #358 from cloudflare/penalosa-patch-2
...
Support Wrangler v4 bulk secrets
2025-03-14 20:56:46 -05:00
Maximo Guk
cd6314a97b
Use wranglers secret:bulk on versions of wrangler prior to 3.60.0
2025-03-14 20:27:34 -05:00
Somhairle MacLeòid
ef1f9fb2b0
Update wranglerAction.ts
2025-03-15 00:25:40 +00:00
Maximo Guk
08959b2671
Merge pull request #353 from cloudflare/changeset-release/main
...
Version Packages
2025-02-10 13:02:55 -06:00
github-actions[bot]
abb67eda8d
Version Packages
2025-02-10 18:57:44 +00:00
Maximo Guk
883eaf2de0
Merge pull request #351 from cloudflare/maximo/use-wrangler-outputs-for-version-upload-and-wrangler-deploy
...
Use wrangler outputs for wrangler deploy and versions upload
2025-02-10 12:56:18 -06:00
Maximo Guk
4ff07f4310
Use wrangler outputs for version upload and wrangler deploy
2025-02-09 17:10:09 -06:00
Maximo Guk
4fb15f8b7a
Bump @changesets/cli to 2.27.12 and vitest to 2.1.9
2025-02-09 16:51:41 -06:00
Maximo Guk
e8cd5f0968
Merge pull request #350 from cloudflare/maximo/handle-failures-in-create-github-deployment-and-job-summary
...
Handle failures in createGitHubDeployment and createGitHubJobSummary
2025-02-09 16:51:09 -06:00
Maximo Guk
e209094e62
Handle failures in createGitHubDeployment and createGitHubJobSummary
2025-02-09 16:49:07 -06:00
Maximo Guk
181b9fb5d6
Merge pull request #346 from cloudflare/changeset-release/main
...
Version Packages
2025-01-17 09:54:16 -06:00
github-actions[bot]
aac328d155
Version Packages
2025-01-17 15:47:45 +00:00
Maximo Guk
fc89533f1e
Merge pull request #345 from cloudflare/fix/pages-gh-deployment
...
fix: pages github deployment not triggering due to incorrect condition #2
2025-01-17 09:47:27 -06:00
Maximo Guk
e819570b2d
Remove stages from pages-deploy-detailed artifact and add changeset
2025-01-17 09:31:23 -06:00
Alexandre Pereira
923db6f87f
fix: pages github deployment not triggering due to missing pages artifact stages
2025-01-17 11:30:50 +00:00
Courtney Sims
d5031c3dbe
Merge pull request #340 from armandsalle/patch-1
...
Update typo in README.md
2024-12-18 16:22:28 -06:00
Armand SALLE
17da943335
Update typo in README.md
2024-12-14 23:12:56 +01:00
Maximo Guk
3aee84cd6d
Merge pull request #330 from cloudflare/changeset-release/main
...
Version Packages
2024-11-26 16:09:40 -04:00
github-actions[bot]
9d9bee8bfd
Version Packages
2024-11-26 19:27:54 +00:00
Maximo Guk
ee57f258dc
Merge pull request #334 from cloudflare/maximo/bump-default-wrangler-version
...
Bump default wrangler version to 3.90.0
2024-11-26 15:26:40 -04:00
Maximo Guk
9fed19aa4e
Bump default wrangler version to 3.90.0
2024-11-26 07:47:24 -06:00
Maximo Guk
3c6e4da7b3
Merge pull request #332 from uFloppyDisk/chore/action-input-fix
...
chore(action.yml): rename gitHubToken input in action.yml;
2024-11-25 23:09:49 -04:00
Pawel Bartusiak
1c0eef186f
chore(action.yml): rename input;
...
Rename 'githubToken' input to 'gitHubToken' in action.yml to reflect the key used for intake in the script;
2024-11-25 19:00:09 -08:00
Maximo Guk
b19342b08c
Merge pull request #325 from cloudflare/maximo/add-github-deployments-parity-for-pages-deployments-in-wrangler-action
...
Add GitHub deployments for parity with pages-action
2024-11-21 14:52:58 -04:00
Jacob Hands
d44c80928a
Merge pull request #315 from Alexkuva/patch-1
...
chore: Add environment parameter for worker secret
2024-11-19 14:34:40 -06:00
Maximo Guk
cada7a6312
Add tests for github service, and move all github deployments logic to be inside of github.ts
2024-11-19 12:08:36 -06:00
Maximo Guk
1e92eee7d2
Restructure text fixtures directories, add test-utils.ts and add msw dep
2024-11-19 11:38:18 -06:00
Maximo Guk
e7e5400334
Remove pages specific outputs from wrangler deploy command
2024-11-19 11:38:18 -06:00
Maximo Guk
d58f116d72
Add github deployments to wrangler action for pages parity
2024-11-19 11:38:18 -06:00
Maximo Guk
64b6339110
Update dependencies and add @actions/github
2024-11-19 11:38:17 -06:00
Courtney Sims
ac2fd0ec8f
Merge pull request #324 from cloudflare/courtney-sims-documentation-update
...
Update documentation
2024-11-13 16:49:06 -06:00
Courtney Sims
0140ffbc93
Update documentation
2024-11-13 12:06:27 -06:00
Courtney Sims
cc4ede3f06
Merge pull request #322 from cloudflare/courtney-sims-testing
...
Add tests for installWrangler
2024-11-13 09:15:02 -06:00
Courtney Sims
9bf87caf2b
Pin node version
2024-11-12 17:25:56 -06:00
Courtney Sims
81f8814855
BANDA-484: Add tests for InstallWrangler
2024-11-12 11:54:43 -06:00
Maximo Guk
6c6d3321ef
Merge pull request #320 from cloudflare/changeset-release/main
...
Version Packages
2024-11-06 11:27:06 -04:00
github-actions[bot]
bc61e66e47
Version Packages
2024-11-05 21:26:00 +00:00
Maximo Guk
0e2b86ba21
Merge pull request #319 from cloudflare/maximo/add-changeset-for-wrangler-artifacts-dir
...
Add missing changeset for using randomUUID for wrangler artifacts dir
2024-11-05 17:25:38 -04:00
Maximo Guk
59c0462940
Add missing changeset for using randomUUID for wrangler artifacts dir
2024-11-05 15:20:12 -06:00
Maximo Guk
4c3f0c27ea
Merge pull request #318 from cloudflare/maximo/use-random-uuid-for-wrangler-artifacts-dir
...
Use random UUID when creating wrangler artifacts output directory
2024-11-05 17:05:58 -04:00
Maximo Guk
4d045615a9
Use random UUID when creating wrangler artifacts output directory
2024-11-05 14:41:27 -06:00
Maximo Guk
a7a2388d7b
Merge pull request #313 from cloudflare/changeset-release/main
...
Version Packages
2024-11-04 11:31:39 -04:00
Alex
95555f6ed0
add environment parameter for worker secret
...
Add environment parameter for worker secret in readme.md
linked issue example: https://github.com/cloudflare/wrangler-action/issues/251
2024-11-02 17:02:18 +01:00
github-actions[bot]
2171bbdd69
Version Packages
2024-11-01 18:40:47 +00:00
Maximo Guk
4f4ff59d17
Merge pull request #312 from cloudflare/maximo/unrevert-add-parity-with-wrangler-action
...
Unrevert add parity with wrangler action
2024-11-01 15:40:25 -03:00
Maximo Guk
122ee5cf5b
Moves wrangler output to tmpdir rather than /opt/ since /opt/ is owned by root.
...
- Github self hosted runners may not have permissions to write to /opt/
- Also fallsback to trying to extract the deployment-url and deployment-alias-url from stdout when WRANGLER_OUTPUT_DIR is not specified
2024-11-01 13:29:38 -05:00
Maximo Guk
44d79edf44
Reapply "Add parity with pages-action for pages deploy outputs"
...
This reverts commit 10d5b9c1c1 .
2024-10-31 00:47:44 -05:00
Maximo Guk
b2be7abbfc
Merge pull request #310 from cloudflare/changeset-release/main
...
Version Packages
2024-10-24 11:56:05 -03:00
github-actions[bot]
b7158dc9a4
Version Packages
2024-10-24 14:49:52 +00:00
Maximo Guk
43767e73de
Merge pull request #309 from cloudflare/maximo/revert-add-parity-with-pages-action
...
Revert add parity with pages action
2024-10-24 11:48:43 -03:00
Maximo Guk
10d5b9c1c1
Revert "Add parity with pages-action for pages deploy outputs"
...
This reverts commit 3ec7f8943e .
2024-10-24 08:45:19 -05:00
Courtney Sims
c01035706f
Merge pull request #305 from cloudflare/changeset-release/main
...
Version Packages
2024-10-23 15:53:47 -05:00
github-actions[bot]
fa96c39bd4
Version Packages
2024-10-23 19:55:00 +00:00
Courtney Sims
78dad1df07
Merge pull request #303 from cloudflare/courtney-sims-enable-outputs
...
Add parity with pages-action for Pages deploy outputs
2024-10-23 14:54:26 -05:00
Courtney Sims
3ec7f8943e
Add parity with pages-action for pages deploy outputs
2024-10-23 10:18:55 -05:00
Maximo Guk
cd8a317efb
Merge pull request #299 from cloudflare/changeset-release/main
...
Version Packages
2024-10-08 13:03:50 -03:00
github-actions[bot]
6aa2e8946a
Version Packages
2024-10-07 21:39:16 +00:00
Maximo Guk
de0526e09b
Merge pull request #278 from acusti/patch-1
...
When checking for existing wrangler install, match wrangler version even if multiline output
2024-10-07 18:38:52 -03:00
Maximo Guk
84316ca95c
Merge pull request #298 from cloudflare/maximo/add-changeset-for-update-wrangler-version
...
Add changeset for update wrangler version from 3.13.2 to 3.78.10
2024-10-07 18:37:59 -03:00
Maximo Guk
134b5c2a32
Add changeset for update wrangler version from 3.13.2 to 3.78.10
2024-10-07 16:30:14 -05:00
Andrew Patton
47d51f25c1
Match wrangler version even if multiline output cloudflare#277
2024-10-07 20:54:34 +00:00
Somhairle MacLeòid
93fff4f656
Merge pull request #295 from Ankcorn/main
2024-10-04 22:01:44 +01:00
Maximo Guk
66334dff0a
Merge pull request #297 from cloudflare/changeset-release/main
...
Version Packages
2024-10-02 11:46:26 -03:00
github-actions[bot]
9966912c1b
Version Packages
2024-10-01 22:12:10 +00:00
Maximo Guk
7b9aec5185
Merge pull request #291 from Ambroos/add-pages-deployment-alias
...
Add deployment-alias-url for pages deployments with Wrangler 3.78.0+
2024-10-01 19:11:49 -03:00
Ankcorn
c0e117f512
WO-202: update wrangler version
2024-09-27 11:42:53 +01:00
Maximo Guk
bcff5386ec
Merge pull request #294 from Cherry/chore/bun-lockfile-new
...
chore: add support for new bun.lock
2024-09-26 12:38:45 -03:00
Maximo Guk
c15498da36
Merge pull request #293 from cloudflare/hrushikeshdeshpande-updating-semgrep-docker-image
...
Updating semgrep docker image for the exising semgrep workflow.
2024-09-26 12:32:17 -03:00
James Ross
8bc5c5f050
chore: add support for new bun.lock
2024-09-26 01:02:47 +01:00
Hrushikesh Deshpande
ac21b71592
Updating semgrep docker image for the exising semgrep workflow.
2024-09-25 18:32:41 -04:00
Maximo Guk
f111269956
Merge pull request #292 from cloudflare/hrushikeshdeshpande-updating-semgrep-yml
...
Update semgrep.yml
2024-09-21 12:54:17 -05:00
hrushikeshdeshpande
570d521df6
Update semgrep.yml
...
Updating Semgrep.yml file - Semgrep is a tool that will be used to scan Cloudflare's public repos for Supply chain, code and secrets. This work is part of Application & Product Security team's initiative to onboard Semgrep onto all of Cloudflare's public repos.
In case of any questions, please reach out to "Hrushikesh Deshpande" on cf internal chat.
2024-09-21 12:06:53 -04:00
Hrushikesh Deshpande
174337b3b4
Adding semgrep yaml file
2024-09-19 21:54:02 -04:00
Ambroos Vaes
a1467a0c8f
Add deployment-alias-url for pages deployments with Wrangler 3.78.0+
2024-09-19 18:54:02 +02:00
Maximo Guk
3ea6e3f132
Merge pull request #272 from cloudflare/changeset-release/main
...
Version Packages
2024-07-02 08:31:12 -05:00
github-actions[bot]
ea11499226
Version Packages
2024-06-20 21:23:25 +00:00
Maximo Guk
8f2f89521c
Merge pull request #271 from cloudflare/maximo/fixup-235
...
Unreverts #235 and don't automatically install wrangler when checking if it present
2024-06-20 16:23:02 -05:00
Maximo Guk
66efca2cbb
Invoke wrangler to check if it's installed, but don't auto-install through npx/bunx
2024-06-15 23:22:47 -05:00
Maximo Guk
aa5d18dd1e
Revert "Revert "(feat): Use existing wrangler installation when appropriate ( #235 )""
...
This reverts commit 2d275a8f2d .
2024-06-15 22:57:11 -05:00
Maximo Guk
b84268f0e0
Merge pull request #268 from cloudflare/changeset-release/main
...
Version Packages
2024-05-24 10:18:03 -05:00
github-actions[bot]
d1b97ebf4d
Version Packages
2024-05-24 15:16:10 +00:00
Jacob Hands
baf8bc61f1
Merge pull request #265 from Maximo-Guk/maximo/revert-235
...
Revert "(feat): Use existing wrangler installation when appropriate #235 "
2024-05-24 10:15:49 -05:00
Jacob Hands
8edd152f63
Update CODEOWNERS ( #266 )
2024-05-24 16:13:49 +01:00
Maximo Guk
2d275a8f2d
Revert "(feat): Use existing wrangler installation when appropriate ( #235 )"
...
This reverts commit 0545ad285a .
2024-05-24 10:04:14 -05:00