Commit Graph
92 Commits
Author SHA1 Message Date
Salman Muin Kayser Chishti 5a43064c95 Lint fix 2025-10-15 16:28:21 +01:00
Salman Muin Kayser Chishti 27f480bebc Update packages, core doesn't need updates and update to use IO util update 2025-10-15 16:28:21 +01:00
Salman Muin Kayser Chishti 2848ca8029 linting 2025-09-04 15:24:57 +01:00
Salman Chishti b685da493c update ts docs 2025-03-13 04:47:49 -07:00
Salman Chishti 9e3b2c234f Instead of using utility method in core lib, use method in both twirp clients 2025-03-07 06:01:25 -08:00
Salman Chishti 65a34a096d Add secret and signature masking for cache and artifact packages 2025-03-06 14:25:32 -08:00
Josh Gross f8c54ddb00 Explicitly import crypto (#1842)
* Explicitly import `crypto`

* Add release notes for 1.11.1

* Fix crypto mock in test

* Fix `crypto` mock

* Lint
2024-10-04 17:23:42 -04:00
Josh Gross 41e924bdda Remove dependency on uuid package (#1824) 2024-10-02 12:28:06 -04:00
Nikolai Laevskii 1716fe84ba Add platform info utilities to @actions/core (#1551)
* Introduce platform utilities into @actions/core

* Add tests for the platform helper

* Update README.md

* Update README.md with more details
2023-11-14 14:15:26 -05:00
Sean Burgess 1416765afc Fix error message reference (#1511) 2023-09-11 10:25:17 -04:00
Ramiro Antonio a73b2c44fe Fix typo in AnnotationProperties doc (#1114) 2023-01-06 10:10:33 -05:00
Lovepreet Singh 7aa9cc3d80 Merge pull request #888 from martincostello/Fix-Docs
Fix endColumn documentation
2022-10-14 21:26:17 +05:30
Francesco Renzi 4668a99c92 Add save-state and set-output file commands (#1178) 2022-09-29 14:45:02 +01:00
Takanori Oishi 21e32edf5f fix: getMultilineInput trims whitespace 2022-09-28 12:54:12 +09:00
Thomas Boop 180be16292 Update lerna dependency. (#1149)
* fix audit

* update linter
2022-08-08 14:39:23 -04:00
Cory MillerandThomas Boop 36ef95e076 Merge pull request from GHSA-7r3h-m5j6-3q42
* use uuid as our multiline env delimiter

* remove extra fn

* Fix version

* also throw error if delimiter is found in name or value

* move delimiter and uuid to global var in test

* upgrade uuid to newest version

* remove spy variable

* Update packages/core/src/core.ts

Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>

* Update packages/core/src/core.ts

Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>
2022-08-08 14:16:39 -04:00
Seth Vargo 330887d894 core: add helpers for working with paths across OSes (#1102) 2022-06-15 11:18:44 -04:00
Brian Cristante 733f34c106 Update other packages to use http-client v2 (#1082)
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062.  We also made some breaking changes to exported types and released v2.

The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention.

I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version.  The rationale is explained in the release notes for that package.
2022-05-11 17:14:25 -04:00
Rob Herley 8b902d5a64 add & deprecate old markdownSummary export 2022-05-05 19:44:13 +00:00
Rob Herley 1a0e861f95 sed 's/markdownSummary/summary/g' 2022-05-05 17:29:20 +00:00
Rob Herley b75be6a281 summary: remove limit validation in client 2022-04-20 20:10:56 +00:00
Rob Herley a2b99cb0ed summary: increase limit to 1MiB 2022-04-20 19:55:54 +00:00
Rob Herley e7b0b200ee feedback: add summary write options 2022-03-08 16:37:20 -05:00
Rob Herley 9af55c1ec4 summary: consistent kB usage and doc links 2022-03-03 11:46:32 -05:00
Rob Herley 2e08a0cfe2 summary: method to clear file and buffer 2022-03-02 23:56:30 -05:00
Rob Herley 5b367b8566 add -> addRaw 2022-03-02 23:49:17 -05:00
Rob Herley cb16058f2b summary: additional check for max size limit 2022-03-02 23:43:51 -05:00
Rob Herley 2660585298 summary: add link/anchor element 2022-03-02 12:10:01 -05:00
Rob Herley dad2219f5f summary: self closing tags, additional img attrs & minor fixes 2022-03-02 00:57:46 -05:00
Rob Herley 06c013bb18 export markdownSummary singleton from core 2022-03-01 21:32:26 -05:00
Rob Herley 948500f7d8 summary.ts -> markdown-summary.ts 2022-03-01 21:16:35 -05:00
Rob Herley a271f7f084 add more summary elements, clean up jsdoc 2022-03-01 21:14:58 -05:00
Rob Herley ec56487f61 '\n' -> os.EOL 2022-03-01 20:55:43 -05:00
Rob Herley bde8656ad7 html element wrapper method for md summary 2022-03-01 20:36:04 -05:00
Rob Herley 50e15ca59a addText -> add, newline by default 2022-02-23 18:15:26 -05:00
Rob Herley 5793955c7d initial markdown summary utils 2022-02-23 18:09:05 -05:00
58b7fc7482 Full release of actions/core 1.6.0 with oidc behavior (#919)
* OIDC Client for actions/core

Co-authored-by: Sourav Chanduka <souravchanduka37@gmail.com>
Co-authored-by: Sourav Chanduka <souravchanduka@users.noreply.github.com>
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2021-09-28 12:55:21 -04:00
Marcono1234 6f27cc2cb8 Add file property to AnnotationProperties (#896) 2021-09-28 09:47:06 -04:00
martincostello a7ae323adb Fix endColumn documentation
Change "start" to "end".
2021-08-20 11:06:49 +01:00
Luke Tomlinson 980690568a Add notice annotation and support more annotation fields (#855)
* Add support for notice annotation and additional properties

* Add additional tests

* Update readme

* Change casing for endLine and endColumn

* Update utils.ts

* Update README.md

* Rename files to have internal- nomenclature

* Revert "Rename files to have internal- nomenclature"

This reverts commit 7911689f296f7e630ac6670334dd677d9db3fb1c.

* Update utils.ts
2021-07-28 17:34:31 -04:00
Thomas BoopandKipras Melnikovas 95127ffbbd Sarpik/get input list support (#829)
* feat(core): Create `getInputList` utility

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>

* chore(core): Document usage of '\n' instead of [] @ `getInputList`

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>

* test(core): Create a very simple test for `getInputList`

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>

* run linter

* update commands/readme

Co-authored-by: Kipras Melnikovas <kipras@kipras.org>
2021-06-04 09:28:49 -04:00
Thomas Boop 7d8bf89e07 Re-enable the audit tools step and update dependencies (#815)
* update package versions

* run audit

* fix eslint config

* linter updates

* re-enable audit

* update timeouts test

* pass done into callback

* fix format
2021-05-21 09:19:40 -04:00
rethab e1e3352389 Describe behaviour of getInput (#808) 2021-05-19 11:08:51 -04:00
Luke Tomlinson 7ebec596c8 Core: Add trimWhitespace to getInput (#802)
* Add option to not trim whitespace from inputs

* Fix typos

* Add doc clarification

* Rename options
2021-05-11 13:51:36 -04:00
yi_Xu ef4cf8f02d feat(core): add getBooleanInput function (#725)
* feat(core): add getBooleanInput function

* docs(core): update readme

* test(core): update the core.test.ts
2021-04-28 16:32:25 -04:00
eric sciple 3b8c85218c Prepend newline for set-output (#772) 2021-04-13 12:01:19 -05:00
Thomas Boop 4e6fd9c7f7 Add File Commands (#571)
* Add File Commands

* pr updates w/ feedback

* run format

* fix lint/format

* slight update with an example in the docs

* pr feedback
2020-09-23 11:19:20 -04:00
Josh Soref 7bc9cba62a Spelling (#431)
* spelling: absolute

* spelling: content

* spelling: received

* spelling: sanitizes
2020-04-27 09:13:56 -04:00
Thomas Boop 6b8a8e58a9 Add docs and wrapper for "echo" command (#411)
* Add docs and wrapper for "echo" command

* Update parameter to enabled
2020-04-13 13:25:54 -04:00
Thomas Boop a027ac4171 Be more lenient in accepting command inputs (#405)
* Be more lenient in accepting command inputs
2020-04-09 17:00:53 -04:00