Skip to content

feat: embed file content in message template via {{{content}}} placeholder - #1665

Merged
marocchino merged 8 commits into
mainfrom
copilot/wrap-file-output-with-triple-backticks
Apr 24, 2026
Merged

marocchino merged 8 commits into
mainfrom
copilot/wrap-file-output-with-triple-backticks

Conversation

Copilot AI commented Mar 13, 2026 •

Copy link
Copy Markdown
Contributor

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
Copilot AI changed the title [WIP] Wrap file output with triple backticks Add prefix and suffix inputs to wrap comment body Mar 13, 2026
Copilot AI requested a review from marocchino March 13, 2026 12:53
Copilot stopped work on behalf of marocchino due to an error March 13, 2026 12:57
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
Copilot AI changed the title Add prefix and suffix inputs to wrap comment body feat: embed file content in message template via $path placeholder Mar 13, 2026
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
Copilot AI changed the title feat: embed file content in message template via $path placeholder feat: embed file content in message template via {path} placeholder Mar 13, 2026
@marocchino
marocchino marked this pull request as ready for review April 24, 2026 12:32
@github-actions

github-actions Bot commented Apr 24, 2026 •

Copy link
Copy Markdown
Output of npm run all
> sticky-pull-request-comment@3.0.4 all
> npm run build && npm run format && npm run lint && npm run package && npm run test


> sticky-pull-request-comment@3.0.4 build
> tsc


> sticky-pull-request-comment@3.0.4 format
> biome format --write .

Formatted 5 files in 3ms. Fixed 1 file.

> sticky-pull-request-comment@3.0.4 lint
> biome check .

Checked 5 files in 7ms. No fixes applied.

> sticky-pull-request-comment@3.0.4 package
> npx rimraf ./dist && npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript

�[36m
�[1msrc/main.ts�[22m → �[1mdist/index.js�[22m...�[39m
�[1m�[33m(!) Circular dependency�[39m�[22m
node_modules/@actions/core/lib/core.js -> node_modules/@actions/core/lib/oidc-utils.js -> node_modules/@actions/core/lib/core.js
�[32mcreated �[1mdist/index.js�[22m in �[1m3.5s�[22m�[39m

> sticky-pull-request-comment@3.0.4 test
> vitest run


�[1m�[30m�[46m RUN �[49m�[39m�[22m �[36mv4.1.5 �[39m�[90m/home/runner/work/sticky-pull-request-comment/sticky-pull-request-comment�[39m

 �[32m✓�[39m __tests__/main.test.ts �[2m(�[22m�[2m22 tests�[22m�[2m)�[22m�[32m 107�[2mms�[22m�[39m
 �[32m✓�[39m __tests__/config.test.ts �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[32m 73�[2mms�[22m�[39m
 �[32m✓�[39m __tests__/comment.test.ts �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[32m 19�[2mms�[22m�[39m
 �[32m✓�[39m __tests__/validate.test.ts �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m4 passed�[39m�[22m�[90m (4)�[39m
�[2m      Tests �[22m �[1m�[32m80 passed�[39m�[22m�[90m (80)�[39m
�[2m   Start at �[22m 12:37:25
�[2m   Duration �[22m 569ms�[2m (transform 293ms, setup 0ms, import 533ms, tests 208ms, environment 1ms)�[22m

The build is over.

@marocchino
marocchino merged commit ae583ce into main Apr 24, 2026
2 checks passed
@marocchino
marocchino deleted the copilot/wrap-file-output-with-triple-backticks branch April 24, 2026 12:37
@marocchino marocchino changed the title feat: embed file content in message template via {path} placeholder feat: embed file content in message template via {{{content}}} placeholder Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrap file output with triple backticks (`)

2 participants