Rob Herley
d6694e491d
update release notes
2024-09-20 17:31:40 -04:00
Rob Herley
7f19a7886a
fix regression, auto readlink on symlinks again
2024-09-20 17:23:43 -04:00
Brian DeHamer
2a07de1333
fix bug with customized oidc issuer
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-09-04 10:24:28 -07:00
Francesco Novy
2e1998fc42
update lockfile
2024-08-30 09:41:33 +02:00
Francesco Novy
b7a914b73b
Use native `crypto` package from node
2024-08-30 09:30:02 +02:00
Brian DeHamer
1e69bffbba
bump @actions/http-client from 2.2.1 to 2.2.3
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-08-22 07:52:03 -07:00
Thomas Boop
d1aa255c7f
HTTP Client 2.2.3 Release ( #1804 )
...
* http-client 2.2.3
* fix audit
* Revert "fix audit"
724956ffa7
* update versions
* Revert "update versions"
139b3391a0
* exclude dev dependencies while we work on removing lerna
2024-08-22 10:13:36 -04:00
Brian DeHamer
7298ff3219
Merge pull request #1799 from actions/bdehamer/http-client-proxy-auth
...
fix encoding for proxy auth token
2024-08-21 06:41:49 -07:00
Brian DeHamer
ada9e00cda
fix encoding for proxy auth token
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-08-16 15:03:40 -07:00
Brian DeHamer
ac3a063583
improve release notes for @actions/attest
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-08-16 12:43:39 -07:00
Brian DeHamer
7cc96bb976
Merge pull request #1796 from actions/bdehamer/attest-issuer
...
derive default OIDC issuer from current tenant
2024-08-16 12:21:00 -07:00
Brian DeHamer
fa6cc53297
derive default OIDC issuer from current tenant
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-08-16 12:07:23 -07:00
Thomas Boop
f299e8ba1e
HTTP Client 2.2.2 Release ( #1794 )
...
* 2.2.2 release
* update nodes
2024-08-16 13:11:10 -04:00
Yu
1b9927d1c7
Handle Encoded URL for Proxy Username and Password in HTTP Client ( #1782 )
...
* uri-decode-fix
Signed-off-by: Yu <yu.yang@anz.com>
* http-client URLdecode fix
Signed-off-by: Yu <yu.yang@anz.com>
* http-client URLdecode test typo fix
Signed-off-by: Yu <yu.yang@anz.com>
---------
Signed-off-by: Yu <yu.yang@anz.com>
2024-08-16 12:43:10 -04:00
Brian DeHamer
340a1033a5
support for headers param in attest functions
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-08-15 15:35:32 -07:00
Josh Gross
50f2977cce
Add glob option to ignore hidden files ( #1791 )
...
* Add glob option to ignore hidden files
* Use the basename of the file/directory to check for `.`
* Ensure the `excludeHiddenFiles` is properly copied
* Allow the root directory to be matched
* Fix description of `excludeHiddenFiles`
* Document Windows hidden attribute limitation
* Bump version
* `lint`
* Document 0.5.0 release
* Lint again
2024-08-15 17:13:49 -04:00
Thomas Boop
48a65377c0
Fix HTTP client tests ( #1792 )
...
* fix tests and update dependencies
2024-08-15 16:53:06 -04:00
Sébastien Morais
3a33cca851
FIX: Set chunk timeout back to 5 minutes
2024-08-06 10:27:41 +02:00
Rob Herley
76b6e24aee
bump pkg lock
2024-07-31 10:12:04 -04:00
Rob Herley
58d14c4ef5
prep for @actions/artifact v2.1.9
2024-07-31 10:05:34 -04:00
Rob Herley
7463cf3da6
Merge pull request #1771 from rmunn/fix-too-many-open-files
...
Prevent "too many open files" in artifact upload
2024-07-31 09:20:36 -04:00
Robin Munn
7c61054649
Remove unused import
2024-07-27 17:00:02 +07:00
Brian DeHamer
b28406bd1f
fix proxy support for jwks retrieval
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-07-26 15:03:40 -07:00
Robin Munn
9517cdf52d
Prevent "too many open files" in artifact upload
...
See https://www.archiverjs.com/docs/archiver/#file
2024-07-26 08:49:34 +07:00
Rob Herley
3e34f6d19c
add comment for chunk timeout
2024-07-24 12:40:57 -04:00
Rob Herley
182702d2df
fix chunk timeout + update tests
2024-07-23 21:57:39 -04:00
Rob Herley
56832696fc
npm audit fix
2024-07-03 17:03:40 +00:00
Rob Herley
176b40a888
allow localhost hostnames for artifact checks
2024-07-03 16:55:53 +00:00
Bassem Dghaidi
4902d3a118
Add backend ids
2024-06-24 01:16:11 -07:00
Bassem Dghaidi
04d1a7ec3c
Add fix cache paths
2024-06-17 03:36:06 -07:00
Bassem Dghaidi
e1b7e78d60
Fix cache misses
2024-06-17 02:39:45 -07:00
Bassem Dghaidi
7640cf17c1
Fix cache misses
2024-06-17 02:35:25 -07:00
Bassem Dghaidi
8d7ed4fb57
Fix cache service url bug
2024-06-17 01:32:41 -07:00
Bassem Dghaidi
5afc042a74
Add download cache v2
2024-06-17 01:17:10 -07:00
Bassem Dghaidi
5e5faf73fc
Use zlib for compression
2024-06-13 03:16:59 -07:00
Brian DeHamer
dddc440d56
config rekor to fetch on conflict
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-06-12 11:57:18 -07:00
Bassem Dghaidi
9e63a77e7a
Implement cache v2
2024-06-10 12:19:52 -07:00
Bassem Dghaidi
146143a9b4
Implement cache v2
2024-06-10 11:55:28 -07:00
Bassem Dghaidi
6635d12ce0
Implement cache v2
2024-06-10 11:36:37 -07:00
Bassem Dghaidi
dccc3f7f1c
Fix upload mechanics
2024-06-10 11:01:01 -07:00
Bassem Dghaidi
66d5434f23
Add v2 cache upload
2024-06-10 10:56:20 -07:00
Brian DeHamer
73100a7f85
new GHA build provenance
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-06-05 14:54:34 -07:00
Bassem Dghaidi
c8466d1fac
Add twirp client
2024-05-29 08:31:54 -07:00
Bassem Dghaidi
264230c2c5
add debug
2024-05-23 09:04:37 -07:00
Bassem Dghaidi
32dbccb77b
Add debug message
2024-05-23 07:25:17 -07:00
Brian DeHamer
8735a7e2da
prep 1.3.0 release of @actions/attest
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-05-21 13:11:37 -07:00
Fredrik Skogman
d3d7736bae
Fixed a spelling error
2024-05-20 07:57:44 +02:00
Fredrik Skogman
7d18e7aa0d
PR feedback. Juse more JS idiomatic code
2024-05-20 07:52:36 +02:00
Fredrik Skogman
e60694077d
Read the server url from the environment variable.
...
Instead of having the urls hardcoded, read them from the environment.
I opted to read from the environment variable instead of the github context
because it would be easier to test.
2024-05-16 17:00:35 +02:00
Brian DeHamer
abb586d71e
add doc link in @actions/attest readme
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-05-01 11:30:45 -07:00
Brian DeHamer
0e8fe8af62
retry request on failure to save attestation
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-04-24 15:07:39 -07:00
bethanyj28
9eb3d3a673
lint
2024-04-23 16:10:57 -04:00
bethanyj28
6e642f628f
lint
2024-04-23 16:06:02 -04:00
bethanyj28
0159bbe7f2
bump version
2024-04-23 16:03:52 -04:00
bethanyj28
476276bf98
use latest unzip-stream
2024-04-23 15:54:54 -04:00
Brian DeHamer
2961d73391
remove dep on make-fetch-happen
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-04-23 09:39:17 -07:00
Rob Herley
b384fe17ba
bump pkg version + release notes
2024-04-19 15:08:30 +00:00
Rob Herley
ccb1df45d1
artifact client: retry on non-JSON response
2024-04-19 14:03:47 +00:00
Vallie Joseph
918b468a41
replacing writeFile with writeFileSync
2024-04-15 16:57:28 +00:00
Vallie Joseph
234761dc05
replacing writeFile with writeFileSync
2024-04-15 16:51:30 +00:00
Vallie Joseph
fa1cb5d153
correcting imports
2024-04-15 16:49:47 +00:00
Vallie Joseph
e998cf1216
cleaning up tests
2024-04-15 16:32:31 +00:00
Vallie Joseph
2bbbf928ae
re-adding minor ver for now
2024-04-15 16:20:24 +00:00
Vallie Joseph
fa06a1eadf
removing minor ver for now
2024-04-15 16:18:41 +00:00
Vallie Joseph
5eea9e34e7
cleaning up comments and removing clear timeout outside of finaly
2024-04-15 16:08:45 +00:00
Vallie Joseph
75b5e5376d
updating artifact version
2024-04-15 15:32:08 +00:00
Vallie Joseph
be507421b1
.
2024-04-15 15:24:57 +00:00
Vallie Joseph
5d943d4b7f
Rever http
2024-04-15 12:59:58 +00:00
Vallie Joseph
222733049e
.
2024-04-09 21:22:40 +00:00
Vallie Joseph
fa9db3c8fa
wrapping timeout in try catch
2024-04-09 21:18:30 +00:00
Vallie Joseph
18a8a22c65
updating upload try catch to always call cleartimeout
2024-04-09 21:05:58 +00:00
Vallie Joseph
425f05e29d
moving timer outside of uploadZipToBlobStorage
2024-04-09 21:04:29 +00:00
Vallie Joseph
90fca23920
replacing timeout
2024-04-09 20:51:12 +00:00
Vallie Joseph
0d3d3bbb40
Adding missing progress time
2024-04-09 20:40:08 +00:00
Vallie Joseph
2ed9516172
updating timeout
2024-04-09 19:24:52 +00:00
Vallie Joseph
4fc93ec115
.
2024-04-09 19:01:54 +00:00
Vallie Joseph
61d6acdeb1
updating test
2024-04-09 18:52:19 +00:00
Vallie Joseph
f98ccd1e39
updating tests
2024-04-09 18:21:41 +00:00
Vallie Joseph
7f0a981b2e
Revert http
2024-04-09 18:09:34 +00:00
Vallie Joseph
2e7a11c409
upgrading archiver package along with chunk timeout
2024-04-09 18:02:48 +00:00
Brian DeHamer
f8d95a85df
generate v0.3 bundles in attest package
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-04-03 12:12:26 -07:00
Brian DeHamer
a0e6af1e53
build provenance stmt from OIDC claims
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-03-22 12:34:42 -07:00
Smeb
8fee77b04b
fix #1579 : add test to check getCacheVersion does not mutate arguments
2024-03-07 16:23:04 +01:00
Luke Tomlinson
b807fc9c54
Update http-client to 2.2.1 ( #1679 )
2024-03-01 15:09:37 -05:00
bethanyj28
4799020e28
bump version
2024-03-01 13:04:16 -05:00
bethanyj28
bb420e4681
add info level logging for zip extract
2024-03-01 12:54:40 -05:00
Bethany
e918bf24ae
Update RELEASES.md
2024-02-29 10:41:57 -05:00
Bethany
eea6b7f517
Update RELEASES.md
2024-02-29 10:40:22 -05:00
teatimeguest
ff435e591d
Make sure RequestOptions.keepAlive is applied properly on node20 runtime ( #1572 )
2024-02-28 12:10:57 -05:00
Bethany
b7770574c2
flip releases order
2024-02-28 10:35:01 -05:00
Brian DeHamer
37a562b194
bump @actions/attest to 1.0.0
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-02-26 10:21:47 -08:00
Brian DeHamer
ad1f156c7c
Merge pull request #1667 from actions/bdehamer/attest
...
add new @actions/attest package
2024-02-26 10:15:14 -08:00
Brian DeHamer
6079dea4c4
add new @actions/attest package
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-02-26 08:52:20 -08:00
bethanyj28
97c606b612
update to 2.1.3
2024-02-26 10:18:02 -05:00
bethanyj28
dcc55dfd04
feedback
2024-02-26 09:56:00 -05:00
bethanyj28
902046e4d8
ensure callback is only called once
2024-02-26 09:36:35 -05:00
bethanyj28
6cf4fbcef8
add a comment
2024-02-23 15:33:24 -05:00
bethanyj28
7fa864a4f4
go back to normalize)
2024-02-23 15:28:25 -05:00
Bethany
f77cbc9ef7
Update packages/artifact/src/internal/download/download-artifact.ts
...
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2024-02-23 15:20:01 -05:00
bethanyj28
8a1800c5da
use resolve instead of normalize
2024-02-23 15:15:17 -05:00
bethanyj28
90894a8853
bump version
2024-02-23 15:03:09 -05:00
bethanyj28
614f27a4fb
use stream transform
2024-02-23 14:34:39 -05:00
bethanyj28
ac84a9bee3
re-add noop logs and format + lint
2024-02-23 13:46:22 -05:00
bethanyj28
4256ea99c5
update test case and handling
2024-02-23 13:41:40 -05:00
bethanyj28
76489f433b
attempt with comparing index
2024-02-23 11:59:36 -05:00
bethanyj28
e9005f7727
ensure no path traversal
2024-02-23 10:54:12 -05:00
bethanyj28
8d03fb4787
prettier
2024-02-23 08:46:56 -05:00
bethanyj28
d3301c9bc2
update path parsing
2024-02-23 08:42:23 -05:00
bethanyj28
1e326de474
use existing function
2024-02-23 08:28:37 -05:00
bethanyj28
83731e6528
remove awaits from on entry
2024-02-22 22:06:32 -05:00
bethanyj28
a24b9c0184
handle directories
2024-02-22 21:54:54 -05:00
bethanyj28
31c555afda
prettier
2024-02-22 20:31:49 -05:00
bethanyj28
9dea373bba
wait for upload to finish
2024-02-22 20:29:42 -05:00
bethanyj28
b956d8a4dd
audit, lint, format
2024-02-22 17:55:53 -05:00
bethanyj28
81d5e48db0
update tests
2024-02-22 17:51:15 -05:00
bethanyj28
bc5b3a85ae
use on entry
2024-02-22 17:16:32 -05:00
eggyhead
e6c1cd0d8c
Merge pull request #1651 from actions/eggyhead/update-ghescheck-cache-v3.2.4
...
updating cache version and release to include ghes check change
2024-02-01 09:21:58 -08:00
eggyhead
c500de6dea
updating cache version and release to include ghes check change
...
Revert "updating cache version and release to include ghes check change"
This reverts commit 7185d8964514361b7b8dcdba1f9dd54ef24b8bdd.
updating cache version and release to include ghes check change
2024-01-31 21:23:20 +00:00
eggyhead
c4f4f5ae07
updating artifact version and release to include ghes check change
2024-01-31 21:15:11 +00:00
eggyhead
d134334a38
lint fixes
2024-01-31 16:51:04 +00:00
eggyhead
3b02a6fdc5
updating alowed hosts in isGhes check
...
updating alowed hosts in artifact ghes check
using dot prepend ghe host
2024-01-31 16:30:37 +00:00
eggyhead
1fe633e27c
Merge pull request #1627 from actions/eggyhead/hyperlinks-faq
...
adding hyperlinks for new section of artifacts faq
2024-01-19 08:40:40 -08:00
eggyhead
74bca717aa
Update packages/artifact/docs/faq.md
...
Consistent spacing in version table
Co-authored-by: Bethany <bethanyj28@users.noreply.github.com>
2024-01-19 08:37:38 -08:00
eggyhead
bb4505e078
yaml formatting
2024-01-18 17:36:26 +00:00
eggyhead
dbfca0275d
removing numbered list
2024-01-18 17:35:08 +00:00
eggyhead
d01372220d
bold text
2024-01-18 17:33:39 +00:00
eggyhead
8e13afa0db
updating language and adding compatibility table
2024-01-18 17:32:19 +00:00
Rob Herley
4e3b068ce1
Merge pull request #1629 from actions/robherley/update-docs-2.1.0
...
v2.1.0 Generate docs + update release notes
2024-01-18 11:25:50 -05:00
Rob Herley
017d757dd4
update releases.md
2024-01-18 11:07:25 -05:00
eggyhead
5212cb5ed9
Merge pull request #1628 from actions/eggyhead/update-getartifact-errmessage
...
updating artifact not found error message
2024-01-18 08:02:52 -08:00
eggyhead
cca96584eb
removing newline and camelcasing GitHub
2024-01-18 15:57:21 +00:00
Rob Herley
58c2878fce
generate docs + update releases
2024-01-18 09:51:01 -05:00
Rob Herley
daf23ba955
Merge pull request #1626 from actions/robherley/delete-artifacts
...
Add methods to delete artifacts
2024-01-18 09:46:52 -05:00
eggyhead
5016db01fe
update message for internal method
2024-01-18 04:14:39 +00:00
eggyhead
30942cc4ae
updating artifact not found error message to include more information and link to FAQ
2024-01-18 04:10:35 +00:00
eggyhead
98f72c3040
adding hyperlinks for new section of artifacts faq
2024-01-18 04:03:48 +00:00
eggyhead
64c0992283
adding version compatibility and retention to artifacts FAQ
2024-01-18 03:58:06 +00:00
Rob Herley
1852eb2115
more delete examples
2024-01-17 18:58:58 -05:00
Rob Herley
abe0bd98df
delete example
2024-01-17 18:21:25 -05:00
Rob Herley
2f5fb3f92b
list for correct backend ids in internal delete
2024-01-17 17:53:49 -05:00
Rob Herley
7fd71a5e13
fix typo
2024-01-17 16:56:34 -05:00
Rob Herley
b62d4c91b6
add public and internal methods to delete artifacts
2024-01-17 16:18:49 -05:00
Rob Herley
7c27528ab4
Update RELEASES.md
...
Updates release notes for @actions/cache v3.2.3
2024-01-10 17:32:52 -05:00
Rob Herley
b9079670eb
Update cache npm package version
2024-01-10 17:05:13 -05:00
Rob Herley
cab491a426
Merge pull request #1378 from MSP-Greg/00-cache-paths-dup
...
cache - getCacheVersion - dup paths array
2024-01-10 17:01:51 -05:00
Vallie Joseph
0389dcd5e4
updating release notes ( #1620 )
2024-01-10 10:43:38 -05:00
Ryan Troost
64b2775394
Merge pull request #1613 from actions/srryan/download-v4-client-blob
...
Update `http.client` to retry transient network hang ups
2024-01-09 16:01:39 -05:00
Vallie Joseph
7549d1b218
removing info logs
2024-01-09 19:42:04 +00:00
Vallie Joseph
2124ef2413
cleaning up logs
2024-01-09 19:36:26 +00:00
Vallie Joseph
d617670abc
updating timer; removing logs
2024-01-09 19:23:57 +00:00