Skip to content

Commit 5798024

Browse files
authored
Require max duration in trigger.config. Validate TRIGGER_ACCESS_TOKEN is a PAT. (#1620)
* Show a good error if TRIGGER_ACCESS_TOKEN isn’t a PAT * Require maxDuration in trigger.config from now on * Changeset * Update the trigger.config templates copy, and set the default to 1hr * Set the maxDuration in the trigger.config files inside the repo * Fixed the e2e tests by setting the package to 0.0.0-prerelease-20250116195421
1 parent 5750f35 commit 5798024

35 files changed

+1528
-4064
lines changed

.changeset/tiny-seals-appear.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"trigger.dev": patch
3+
"@trigger.dev/core": patch
4+
---
5+
6+
Require maxDuration config and have a better error for bad CI tokens

packages/cli-v3/e2e/fixtures/emit-decorator-metadata/package-lock.json

+174-426
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli-v3/e2e/fixtures/emit-decorator-metadata/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"packages/*"
1111
],
1212
"dependencies": {
13-
"@trigger.dev/sdk": "0.0.0-cli-e2e-20240910161832",
13+
"@trigger.dev/sdk": "0.0.0-prerelease-20250116195421",
1414
"reflect-metadata": "0.2.2"
1515
},
1616
"devDependencies": {
17-
"@trigger.dev/build": "0.0.0-cli-e2e-20240910161832",
17+
"@trigger.dev/build": "0.0.0-prerelease-20250116195421",
1818
"@types/node": "22.5.4",
1919
"typescript": "5.5.4"
2020
}

0 commit comments

Comments
 (0)