Sean Goedecke
d645f067d8
Merge pull request #27 from mattleibow/dev/system-prompt-file
...
feat: Add system-prompt-file input for file-based system prompts
v1.1.0
2025-05-27 09:48:56 +10:00
Matthew Leibowitz
9c57490bf1
regen
2025-05-27 01:40:03 +02:00
Matthew Leibowitz
aa31275bdc
Merge remote-tracking branch 'upstream/main' into dev/system-prompt-file
2025-05-27 01:33:37 +02:00
Sean Goedecke
cacab0de8c
Merge pull request #28 from actions/dependabot/npm_and_yarn/github/local-action-3.2.1
...
Bump @github/local-action from 2.2.1 to 3.2.1
2025-05-27 07:40:55 +10:00
dependabot[bot]
8562e77a99
Bump @github/local-action from 2.2.1 to 3.2.1
...
Bumps [@github/local-action](https://github.com/github/local-action ) from 2.2.1 to 3.2.1.
- [Release notes](https://github.com/github/local-action/releases )
- [Changelog](https://github.com/github/local-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/local-action/compare/v2.2.1...v3.2.1 )
---
updated-dependencies:
- dependency-name: "@github/local-action"
dependency-version: 3.2.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-26 02:24:05 +00:00
Matthew Leibowitz
9aac9c75b3
Formatting
2025-05-26 04:03:09 +02:00
Matthew Leibowitz
eb37c9a493
Formatting
2025-05-26 03:46:39 +02:00
dependabot[bot]
7ee5d2347b
Merge pull request #24 from actions/dependabot/github_actions/actions-minor-88e1b89f1e
2025-05-26 00:50:33 +00:00
dependabot[bot]
c9a9379c71
Bump super-linter/super-linter in the actions-minor group
...
Bumps the actions-minor group with 1 update: [super-linter/super-linter](https://github.com/super-linter/super-linter ).
Updates `super-linter/super-linter` from 7.3.0 to 7.4.0
- [Release notes](https://github.com/super-linter/super-linter/releases )
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md )
- [Commits](4e8a7c2bf1...12150456a7 )
---
updated-dependencies:
- dependency-name: super-linter/super-linter
dependency-version: 7.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: actions-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-26 00:48:34 +00:00
Marais Rossouw
ad31e754e3
Merge pull request #25 from actions/mr/bump-versions
...
Bumps all package versions, and re-builds
2025-05-26 10:46:40 +10:00
Marais Rossouw
c4ce17bc84
chore: updates licenses
2025-05-26 00:35:07 +00:00
Marais Rossouw
c0259b3c7d
chore: re-builds bundle
2025-05-26 00:34:45 +00:00
Marais Rossouw
989a68a941
chore: bumps all package versions
2025-05-26 00:34:16 +00:00
Matthew Leibowitz
3e924fe06b
Refactor the prompt reading logic
2025-05-25 19:08:36 +02:00
Matthew Leibowitz
96e0fda3bb
Improve the tests a bit
...
Removed the duplicate code and just use helper functions.
2025-05-24 04:07:29 +02:00
Matthew Leibowitz
91ba53d8b4
feat: Add system-prompt-file input for file-based system prompts
...
This enhancement adds the ability to load a system prompt from a file, similar to
the existing prompt-file functionality, providing more flexibility when working with
complex system prompts.
Key changes:
- Added new `system-prompt-file` input to action.yml with proper description
- Updated main.ts implementation to handle file-based system prompts with:
- File existence checking and appropriate error handling
- Proper precedence (system-prompt-file takes priority over system-prompt)
- Consistent error messages with existing prompt-file implementation
Test coverage added:
- Basic usage: Test verifies system-prompt-file loads content correctly
- Error handling: Test ensures proper errors when system-prompt-file doesn't exist
- Precedence: Test confirms system-prompt-file overrides system-prompt when both exist
- Integration: Test validates both prompt-file and system-prompt-file work together
- Max tokens: Test verifies custom token limits are properly passed to the model
- Testing infrastructure: Improved mock implementations that detect unexpected calls
Documentation:
- Updated README.md with system-prompt-file in inputs table
- Added dedicated usage example for system-prompt-file
- Fixed formatting in inputs table
CI/CD:
- Updated workflow to test system-prompt-file functionality with actual file content
This feature maintains backward compatibility while adding a useful option
for workflows that need to use more complex system prompts stored in files.
2025-05-24 03:50:15 +02:00
dependabot[bot]
f8ee4c952b
Merge pull request #16 from actions/dependabot/npm_and_yarn/npm-development-43ab01df74
2025-04-23 08:27:57 +00:00
dependabot[bot]
d0b41e9e29
Bump the npm-development group across 1 directory with 14 updates
...
Bumps the npm-development group with 14 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@azure/core-sse](https://github.com/Azure/azure-sdk-for-js ) | `2.1.3` | `2.2.0` |
| [@eslint/compat](https://github.com/eslint/rewrite ) | `1.2.7` | `1.2.8` |
| [@github/local-action](https://github.com/github/local-action ) | `3.1.4` | `3.2.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `20.17.28` | `20.17.30` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `8.28.0` | `8.30.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `8.28.0` | `8.30.1` |
| [eslint](https://github.com/eslint/eslint ) | `9.23.0` | `9.24.0` |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) | `10.1.1` | `10.1.2` |
| [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript ) | `4.3.1` | `4.3.2` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) | `5.2.5` | `5.2.6` |
| [prettier-eslint](https://github.com/prettier/prettier-eslint ) | `16.3.0` | `16.3.2` |
| [rollup](https://github.com/rollup/rollup ) | `4.38.0` | `4.40.0` |
| [ts-jest](https://github.com/kulshekhar/ts-jest ) | `29.3.0` | `29.3.2` |
| [typescript](https://github.com/microsoft/TypeScript ) | `5.8.2` | `5.8.3` |
Updates `@azure/core-sse` from 2.1.3 to 2.2.0
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md )
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/core-sse_2.1.3...@azure/core-sse_2.2.0 )
Updates `@eslint/compat` from 1.2.7 to 1.2.8
- [Release notes](https://github.com/eslint/rewrite/releases )
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json )
- [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.7...compat-v1.2.8 )
Updates `@github/local-action` from 3.1.4 to 3.2.0
- [Release notes](https://github.com/github/local-action/releases )
- [Changelog](https://github.com/github/local-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/local-action/compare/v3.1.4...v3.2 )
Updates `@types/node` from 20.17.28 to 20.17.30
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `@typescript-eslint/eslint-plugin` from 8.28.0 to 8.30.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.30.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 8.28.0 to 8.30.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.30.1/packages/parser )
Updates `eslint` from 9.23.0 to 9.24.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.23.0...v9.24.0 )
Updates `eslint-config-prettier` from 10.1.1 to 10.1.2
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.1...v10.1.2 )
Updates `eslint-import-resolver-typescript` from 4.3.1 to 4.3.2
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases )
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.3.1...v4.3.2 )
Updates `eslint-plugin-prettier` from 5.2.5 to 5.2.6
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.2.5...v5.2.6 )
Updates `prettier-eslint` from 16.3.0 to 16.3.2
- [Release notes](https://github.com/prettier/prettier-eslint/releases )
- [Changelog](https://github.com/prettier/prettier-eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier-eslint/compare/v16.3.0...v16.3.2 )
Updates `rollup` from 4.38.0 to 4.40.0
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.38.0...v4.40.0 )
Updates `ts-jest` from 29.3.0 to 29.3.2
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.3.0...v29.3.2 )
Updates `typescript` from 5.8.2 to 5.8.3
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.2...v5.8.3 )
---
updated-dependencies:
- dependency-name: "@azure/core-sse"
dependency-version: 2.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-development
- dependency-name: "@eslint/compat"
dependency-version: 1.2.8
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
- dependency-name: "@github/local-action"
dependency-version: 3.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-development
- dependency-name: "@types/node"
dependency-version: 20.17.30
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-version: 8.30.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-development
- dependency-name: "@typescript-eslint/parser"
dependency-version: 8.30.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-development
- dependency-name: eslint
dependency-version: 9.24.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-development
- dependency-name: eslint-config-prettier
dependency-version: 10.1.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
- dependency-name: eslint-import-resolver-typescript
dependency-version: 4.3.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
- dependency-name: eslint-plugin-prettier
dependency-version: 5.2.6
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
- dependency-name: prettier-eslint
dependency-version: 16.3.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
- dependency-name: rollup
dependency-version: 4.40.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-development
- dependency-name: ts-jest
dependency-version: 29.3.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
- dependency-name: typescript
dependency-version: 5.8.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-development
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-23 08:24:38 +00:00
dependabot[bot]
8eaf9b3bbc
Merge pull request #13 from actions/dependabot/npm_and_yarn/rollup/rollup-linux-x64-gnu-4.40.0
2025-04-23 08:21:41 +00:00
Marais Rossouw
d9d6269e33
Merge branch 'main' into dependabot/npm_and_yarn/rollup/rollup-linux-x64-gnu-4.40.0
2025-04-23 18:19:29 +10:00
Sean Goedecke
d043c3eaa1
Merge pull request #10 from actions/joshmgross/fix-readme
...
Clarify description in README
2025-04-22 08:38:45 +10:00
Sean Goedecke
5b3308935f
Merge branch 'main' into joshmgross/fix-readme
2025-04-22 08:36:33 +10:00
dependabot[bot]
2d37c90e93
Bump @rollup/rollup-linux-x64-gnu from 4.39.0 to 4.40.0
...
Bumps [@rollup/rollup-linux-x64-gnu](https://github.com/rollup/rollup ) from 4.39.0 to 4.40.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.39.0...v4.40.0 )
---
updated-dependencies:
- dependency-name: "@rollup/rollup-linux-x64-gnu"
dependency-version: 4.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-17 21:12:36 +00:00
Aiqiao Yan
b72d8483c7
Merge pull request #15 from actions/aiqiaoy/read-prompt-from-file
...
read prompt from file and print output to file
2025-04-17 17:11:26 -04:00
Aiqiao Yan
2aea1d4fc8
add a ci test
2025-04-17 21:04:14 +00:00
Aiqiao Yan
1c557cdc25
react to feedback
2025-04-17 20:23:07 +00:00
Aiqiao Yan
f1591cfa68
add test
2025-04-17 20:13:47 +00:00
Aiqiao Yan
43f6a3831f
read prompt from file and print output to file
2025-04-17 17:41:35 +00:00
Josh Gross
a2fd55fb87
Merge branch 'main' into joshmgross/fix-readme
2025-04-14 14:22:13 -04:00
Sean Goedecke
c7105a4c1e
Merge pull request #11 from actions/sgoedecke/tweaks
...
Update readme and update/pin dependencies
v1.0.0
2025-04-11 07:55:13 +10:00
Sean Goedecke
b75b177af3
update codeowners
2025-04-10 21:37:11 +00:00
Sean Goedecke
a3d57cc6dc
Linting
2025-04-10 21:33:06 +00:00
Sean Goedecke
9239ab5d65
version to v1
2025-04-10 21:27:55 +00:00
Sean Goedecke
5ac68dad30
bump local action package
v0
v0.0.1
2025-04-10 21:26:29 +00:00
Sean Goedecke
3f8bae9a6e
Pin linter CI to SHA
2025-04-10 21:24:44 +00:00
Sean Goedecke
6baaaac50c
Add license section to readme
2025-04-10 21:24:37 +00:00
Sean Goedecke
e8a0bebb73
Merge pull request #9 from actions/sgoedecke/use-user-provided-endpoint
...
Use user-provided endpoint
2025-04-11 06:17:11 +10:00
Josh Gross
72f855ca83
Clarify description in README
2025-04-10 08:53:19 -04:00
Sean Goedecke
ba8a6b0374
Add security and support docs
2025-04-10 03:02:10 +00:00
Sean Goedecke
e670dd5178
Set user agent
2025-04-10 02:53:54 +00:00
Sean Goedecke
84fee7a0e6
Use user-provided endpoint
2025-04-08 20:22:47 +00:00
Sean Goedecke
83d9668e82
Merge pull request #8 from actions/sgoedecke/use-models-dot-github
...
Use org-owned endpoint
2025-04-08 20:05:22 +10:00
Sean Goedecke
2de3b6e872
Merge pull request #2 from actions/dependabot/npm_and_yarn/rollup/rollup-linux-x64-gnu-4.39.0
...
Bump @rollup/rollup-linux-x64-gnu from 4.38.0 to 4.39.0
2025-04-08 15:37:38 +10:00
Sean Goedecke
40b430b284
Merge pull request #5 from actions/dependabot/npm_and_yarn/babel/helpers-7.27.0
...
Bump @babel/helpers from 7.26.9 to 7.27.0
2025-04-08 15:37:16 +10:00
Sean Goedecke
e5b826567d
rebuild
2025-04-08 05:18:48 +00:00
Sean Goedecke
4738a2d212
use org-owned endpoint
2025-04-08 04:55:27 +00:00
Sean Goedecke
606ea175ce
Merge pull request #7 from actions/sgoedecke/use-models-dot-github
...
Use models dot github as the base endpoint
2025-04-08 14:33:32 +10:00
Sean Goedecke
afaedf6677
use models dot github as the base endpoint
2025-04-08 04:30:16 +00:00
Sean Goedecke
78d6b91d0b
Lint README.md
2025-04-08 02:10:27 +00:00
Sean Goedecke
1a66a5968c
Update README.md
2025-04-08 12:00:25 +10:00