Skip to content

Commit 527f14c

Browse files
committed
fix: avoid Biome noTemplateCurlyInString in workflow test
The assertion for github.token used a GitHub Actions expression inside a regular string, which Ultracite flagged as a leftover template placeholder.
1 parent 1adbd0a commit 527f14c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎toolkit-docs-generator/tests/workflows/generate-toolkit-docs.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test("porter workflow generates docs and opens a PR", () => {
5151
// GITHUB_TOKEN PRs do not start other workflows. Generate llms.txt here
5252
// instead of depending on llmstxt.yml, and open the PR with github.token.
5353
expect(workflowContents).toContain("pnpm llmstxt");
54-
expect(workflowContents).toContain("token: ${{ github.token }}");
54+
expect(workflowContents).toContain(`token: ${"${"}{ github.token }}`);
5555
expect(workflowContents).not.toContain("uses: ./.github/actions/app-token");
5656
expect(workflowContents).not.toContain("DOCS_BOT");
5757
});

0 commit comments

Comments
 (0)