Skip to content

[pull] main from actions:main #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 393 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
f003268
Merge pull request #1786 from SMoraisAnsys/fix/chunk-timeout
robherley Aug 6, 2024
48a6537
Fix HTTP client tests (#1792)
thboop Aug 15, 2024
50f2977
Add glob option to ignore hidden files (#1791)
joshmgross Aug 15, 2024
340a103
support for headers param in attest functions
bdehamer Aug 14, 2024
279e891
Merge pull request #1790 from actions/bdehamer/attest-headers
bdehamer Aug 16, 2024
1b9927d
Handle Encoded URL for Proxy Username and Password in HTTP Client (#1…
yangy-23 Aug 16, 2024
f299e8b
HTTP Client 2.2.2 Release (#1794)
thboop Aug 16, 2024
fa6cc53
derive default OIDC issuer from current tenant
bdehamer Aug 16, 2024
7cc96bb
Merge pull request #1796 from actions/bdehamer/attest-issuer
bdehamer Aug 16, 2024
ac3a063
improve release notes for @actions/attest
bdehamer Aug 16, 2024
faf9cb2
Include the package name in the Publish Workflow run (#1793)
joshmgross Aug 16, 2024
ada9e00
fix encoding for proxy auth token
bdehamer Aug 16, 2024
571d782
Merge pull request #1797 from actions/bdehamer/attester-release-notes
bdehamer Aug 19, 2024
7298ff3
Merge pull request #1799 from actions/bdehamer/http-client-proxy-auth
bdehamer Aug 21, 2024
d1aa255
HTTP Client 2.2.3 Release (#1804)
thboop Aug 22, 2024
1e69bff
bump @actions/http-client from 2.2.1 to 2.2.3
bdehamer Aug 22, 2024
6c4e082
Merge pull request #1805 from actions/bdehamer/update-http-client
bdehamer Aug 22, 2024
b7a914b
Use native `crypto` package from node
mydea Aug 30, 2024
2e1998f
update lockfile
mydea Aug 30, 2024
2a07de1
fix bug with customized oidc issuer
bdehamer Sep 4, 2024
6dd369c
Merge pull request #1823 from actions/bdehamer/enterprise-issuer
bdehamer Sep 5, 2024
7f19a78
fix regression, auto readlink on symlinks again
robherley Sep 20, 2024
d6694e4
update release notes
robherley Sep 20, 2024
8551843
fix assertion
robherley Sep 20, 2024
5a62022
/
robherley Sep 20, 2024
70e5684
Merge branch 'main' into neo-cache-service
Link- Sep 24, 2024
07e51a4
Add cache service v2 client
Link- Sep 24, 2024
e62c642
Fix service urls
Link- Sep 24, 2024
2a8f1c5
bump package lock version
robherley Oct 1, 2024
78af634
Remove dependency on `uuid` package (#1824)
joshmgross Oct 2, 2024
650f7c6
Merge pull request #1830 from actions/robherley/artifact-2.1.10
robherley Oct 2, 2024
6ca0d9b
Release `@actions/core v1.11.0` (#1839)
joshmgross Oct 2, 2024
22a72ac
Include #1551 in `@actions/core` 1.11.0 release notes (#1840)
joshmgross Oct 2, 2024
d14afd7
Explicitly import `crypto` (#1842)
joshmgross Oct 4, 2024
c18a7d2
Merge pull request #1815 from mydea/fn/remove-crypto
JoannaaKL Oct 7, 2024
545e0e6
properly resolve relative symlinks
robherley Oct 8, 2024
49cbbbc
Update symlink bug fix reference number
robherley Oct 8, 2024
201b082
Merge pull request #1844 from actions/robherley/artifact-2.1.11
robherley Oct 8, 2024
799f8f5
Update artifact release notes
robherley Oct 8, 2024
ee93b05
Merge pull request #1845 from actions/robherley/update-release-notes
robherley Oct 8, 2024
13abc95
Port restoreCache to new service
Link- Oct 9, 2024
4d1dedf
Merge branch 'main' into neo-cache-service
Link- Oct 9, 2024
c6c5ef6
bump @sigstore/sign from 2.3.2 to 3.0.0
bdehamer Oct 14, 2024
ac1332a
bump @actions/core from 1.10.1 to 1.11.1
bdehamer Oct 14, 2024
26c752f
prep release of @actions/attest v1.5.0
bdehamer Oct 14, 2024
7b4d976
Merge pull request #1846 from actions/bdehamer/sigstore-3-0-0
bdehamer Oct 14, 2024
72113fe
Merge pull request #1847 from actions/bdehamer/attest-update-core
bdehamer Oct 14, 2024
29d342f
Merge pull request #1848 from actions/bdehamer/attest-prep-1-5
bdehamer Oct 14, 2024
d399e33
Merge branch 'main' into neo-cache-service
Link- Oct 21, 2024
89354f6
Cleanup implementation and use tarballs instead of streaming zip
Link- Oct 21, 2024
7f5921c
Document unreleased changes in `cache` and `tool-cache` (#1856)
joshmgross Oct 22, 2024
28dbd8f
Cleanups and package refactoring
Link- Oct 24, 2024
01bf918
Refactoring & cleanup
Link- Oct 24, 2024
717ba9d
Handle tags containing "@" character in `buildSLSAProvenancePredicate`
meriadec Oct 30, 2024
65ee4d3
use macos-latest-large in test/release workflows (#1869)
bdehamer Nov 1, 2024
265a5be
support multi-subject attestations
bdehamer Oct 30, 2024
43ce96d
Merge pull request #1865 from actions/bdehamer/multi-subject
bdehamer Nov 1, 2024
339447c
Merge pull request #1863 from meriadec/attest-provenance-tags
bdehamer Nov 1, 2024
7e54468
update release notes for @actions/attest v1.5.0
bdehamer Nov 1, 2024
d13839f
Merge pull request #1870 from actions/bdehamer/attest-1.5-release-notes
bdehamer Nov 1, 2024
77f247b
Prepare `@actions/cache` 3.3.0 release (#1871)
joshmgross Nov 1, 2024
bb2278e
Extend Node version test coverage (#1843)
joshmgross Nov 8, 2024
75cdb2c
Merge branch 'main' into neo-cache-service
Link- Nov 14, 2024
9da70ff
Post merge cleanup
Link- Nov 14, 2024
4e1912a
Restore __tests__
Link- Nov 14, 2024
d109d9c
Handle ACTIONS_CACHE_SERVICE_V2 feature flag
Link- Nov 14, 2024
9dff82c
Port dependencies & remove dependency on toolkit/artifacts
Link- Nov 14, 2024
69409b3
Fix broken test
Link- Nov 14, 2024
b2557ac
Formatting and stylistic cleanup
Link- Nov 14, 2024
19cdd5f
Linter cleanups
Link- Nov 14, 2024
83baffc
Package upgrades with security fixes
Link- Nov 14, 2024
2ee77e6
Add missing function return types
Link- Nov 14, 2024
c3e354d
Remove unnecessary debug information
Link- Nov 14, 2024
ea4bf48
Remove unnecessary debug information
Link- Nov 14, 2024
5e9ef85
Lint fixes
Link- Nov 14, 2024
ab8110f
Remove unecessary packages from top level package.json
Link- Nov 14, 2024
555b03f
Revert package.json
Link- Nov 14, 2024
68ab87c
Add check to make sure archive has been created already
Link- Nov 14, 2024
6c11d44
Remove unnecessary type hints
Link- Nov 14, 2024
3ca8547
Merge branch 'neo-cache-service' of github.com:actions/toolkit into n…
Link- Nov 14, 2024
8616c31
Remove unused definitions
Link- Nov 14, 2024
a1e6ef3
Update cache service APIs & cleanup
Link- Nov 20, 2024
ab58a59
Bump cross-spawn to 7.0.6
Link- Nov 20, 2024
267841d
Add isGhes gate and refactor to clean up circular dependencies
Link- Nov 21, 2024
e2028d4
Linter fixes and remove unnecessary dependency
Link- Nov 21, 2024
39d1981
Add restore tests
Link- Nov 22, 2024
20ed290
Merge pull request #1857 from actions/neo-cache-service
Link- Nov 22, 2024
27dfd2c
Merge branch 'main' into add-restore-tests
Link- Nov 22, 2024
4de30f7
Add more tests for restoreCacheV2
Link- Nov 25, 2024
54ac2dd
Add cache service version debug message
Link- Nov 25, 2024
4dadd61
Add support for matching on restore key values
Link- Nov 25, 2024
de236da
Fix cache lookup scenario
Link- Nov 25, 2024
2d25139
Remove unused package
Link- Nov 25, 2024
0e321b2
Add the download cache file status code to debug log
Link- Nov 25, 2024
4d31e10
Add the download cache file status code to debug log
Link- Nov 25, 2024
35ede8f
Add a new debug message for downloads
Link- Nov 25, 2024
928d3e8
Merge pull request #1876 from actions/add-restore-tests
Link- Nov 25, 2024
8f60668
Add saveCacheV2 tests
johnsudol Nov 24, 2024
1f08749
Add debug message for uploadResponse
johnsudol Nov 26, 2024
46174ed
run prettier
johnsudol Nov 26, 2024
208dbe2
PR feedback
johnsudol Nov 26, 2024
94f18eb
Only mock the cacheUtil methods we need
johnsudol Nov 26, 2024
5d0a4af
Remove unused mock
johnsudol Nov 26, 2024
b050504
Add test case for when the uploadFile fails on the blobclient
johnsudol Nov 27, 2024
27e5cf2
Replace downloadCacheFile with downloadCacheStorageSDK
Link- Nov 27, 2024
af3981c
Update the useragent of the old http client to pass cache version
Link- Nov 27, 2024
35d87ab
Refactor code formatting for consistency and readability
Link- Nov 27, 2024
9cc30cb
Add `saveCacheV2` tests (#1879)
johnsudol Nov 27, 2024
3a128c8
Merge branch 'main' into enhance-blob-client
Link- Nov 27, 2024
c5a5de0
Delete download-cache
Link- Nov 28, 2024
df16670
Refactor cache upload functionality and improve test cases
Link- Nov 28, 2024
c1fb081
Linter fixes
Link- Nov 28, 2024
eaf0083
Respect download options for restore
Link- Nov 28, 2024
62f5f18
Refactor saveCacheV2 to use saveCache from cacheHttpClient
Link- Nov 28, 2024
8c5f6f2
Force use of Azure for restoreCacheV2
Link- Nov 28, 2024
65892d5
Fine tune blob uploads
Link- Nov 29, 2024
1d403c2
Fix tests
Link- Nov 29, 2024
c6f1224
Add progress tracking for blob uploads
Link- Dec 2, 2024
ee1c07d
Add error handling for failed uploads
Link- Dec 2, 2024
4a272e9
Troubleshoot
Link- Dec 2, 2024
db1d013
Troubleshoot
Link- Dec 2, 2024
d89855b
Fix upload progress bug
Link- Dec 2, 2024
a762876
Minor refactoring
Link- Dec 2, 2024
87171e2
Fix tests
Link- Dec 2, 2024
7ad18fd
Fix linter complaints
Link- Dec 2, 2024
792ec71
Tune upload options
Link- Dec 2, 2024
b24632b
Fix comments
Link- Dec 2, 2024
3f7df8e
Fix comments
Link- Dec 2, 2024
502e8ce
Minor comment adjustments
Link- Dec 2, 2024
fb40492
Merge branch 'enhance-blob-client' of github.com:actions/toolkit into…
Link- Dec 2, 2024
c649df4
Minor comment adjustments
Link- Dec 2, 2024
c02c929
Minor comment adjustments
Link- Dec 2, 2024
a10e209
Merge pull request #1882 from actions/enhance-blob-client
Link- Dec 2, 2024
4498687
Prepare @actions/cache 4.0.0 release
Link- Dec 3, 2024
cb001af
Update README to include deprecation notice
Link- Dec 3, 2024
59845ec
Update deprecation notice
Link- Dec 4, 2024
72447df
Update deprecation notice
Link- Dec 4, 2024
cd9197e
Add announcement link
Link- Dec 4, 2024
0827eef
Rerun CI
Link- Dec 4, 2024
b7a00a3
Merge pull request #1886 from actions/Link-/cache-4.0.0
Link- Dec 4, 2024
1e0c16f
return artifact digest on upload
bdehamer Dec 6, 2024
f522fdf
Merge pull request #1896 from actions/bdehamer/artifact-digest
bdehamer Dec 17, 2024
4426b4e
Prepare artifact release 2.2.0
bdehamer Dec 17, 2024
433f760
Merge pull request #1908 from actions/bdehamer/artifact-2.2.0
bdehamer Dec 17, 2024
26f8f84
Remove unused cache API (#1907)
joshmgross Dec 17, 2024
01f21ba
Remove more unused cache APIs
joshmgross Dec 17, 2024
adb9c4a
Remove more unused cache APIs (#1909)
joshmgross Dec 19, 2024
f3c12d5
Set default concurrency to 10 and make timeout configurable
yacaovsnc Jan 8, 2025
ede05b9
Make concurrency change opt-in, but can only go lower
yacaovsnc Jan 8, 2025
d4385a6
Concurrency has a min of 1
yacaovsnc Jan 8, 2025
e554093
Rename the prefix to be more specific
yacaovsnc Jan 8, 2025
16ef144
Merge pull request #1928 from actions/yacaovsnc/artifact_upload_concu…
yacaovsnc Jan 8, 2025
3095d11
Prep release packages/artifact v2.2.1
yacaovsnc Jan 8, 2025
5e8c25d
Merge pull request #1929 from actions/yacaovsnc/release_artifact_2_2_1
yacaovsnc Jan 9, 2025
1f7c2c7
[tool-cache] Update `@actions/core` and prepare 2.0.2 release (#1872)
joshmgross Jan 15, 2025
e0c069d
remove runtime dependency on twirp-ts
robherley Jan 27, 2025
340a6b1
update undici package to 5.25.5 (#1942)
e-hosseini Jan 28, 2025
6a942b3
Merge pull request #1947 from actions/robherley/rm-twirp-ts
robherley Feb 14, 2025
e6fb8f1
cache miss as debug, not warning annotation
robherley Feb 14, 2025
7fe619c
update mocks
robherley Feb 14, 2025
aad39a3
Merge pull request #1954 from actions/robherley/miss-msg
robherley Feb 14, 2025
95e7473
bump undici to 5.28.5
bdehamer Feb 14, 2025
8fcec1f
update manifests & release notes for cache v4.0.1
robherley Feb 14, 2025
412108c
add undici to @actions/github dependencies
bdehamer Feb 14, 2025
2b08dc1
Merge pull request #1958 from actions/robherley/cache/v4.0.1
robherley Feb 14, 2025
c26e6f3
Default upload artifacts concurrency to 5
yacaovsnc Feb 20, 2025
f10f9c8
Merge pull request #1962 from actions/yacaovsnc/set_default_concurren…
yacaovsnc Feb 20, 2025
2995cdf
Prepare artifact release 2.2.2
yacaovsnc Feb 20, 2025
a62f530
Update package-lock.json
yacaovsnc Feb 20, 2025
662b9d9
Merge pull request #1963 from actions/yacaovsnc/release_2_2_2
yacaovsnc Feb 20, 2025
d096588
cache: wrap create failures in ReserveCacheError
robherley Feb 25, 2025
1b9063e
Merge pull request #1966 from actions/robherley/wrap-create-cache-err
robherley Feb 25, 2025
4fedf47
cache: prep v4.0.2 release
robherley Feb 25, 2025
b95b593
Merge pull request #1957 from actions/bdehamer/update-undici
bdehamer Feb 25, 2025
5378ea8
Merge pull request #1968 from actions/robherley/cache/v4.0.2
robherley Feb 25, 2025
0bc338a
set workflow.ref provenance field from ref claim
bdehamer Feb 26, 2025
ec9716b
Merge pull request #1969 from actions/bdehamer/workflow-ref
bdehamer Feb 26, 2025
780e24b
Dont skip pages
JoannaaKL Mar 5, 2025
d5c8a0f
Update proto artifact interface, retrieve artifact digests, return in…
GhadimiR Mar 5, 2025
83e5e25
Change some debug -> info for artifacts hash logging
GhadimiR Mar 5, 2025
71b40f7
nicer wording
GhadimiR Mar 5, 2025
3726c11
Please the linter
GhadimiR Mar 5, 2025
d70fb49
Merge pull request #1974 from actions/list-artifacts-fix
JoannaaKL Mar 6, 2025
944e6b7
Add secret and signature masking for cache and artifact packages
salmanmkc Mar 6, 2025
884aa17
remove these changes
salmanmkc Mar 6, 2025
8c05dc8
Change info logs to debug logs
GhadimiR Mar 7, 2025
dc22dc7
Merge pull request #1975 from actions/ghadimir/update_call_to_list_ar…
GhadimiR Mar 7, 2025
b85d4e6
Prepare for Artifact v2.2.3 release
GhadimiR Mar 7, 2025
1cd2f8a
Instead of using utility method in core lib, use method in both twirp…
salmanmkc Mar 7, 2025
47c4fa8
masks the whole URL, update tests
salmanmkc Mar 10, 2025
5007821
Remove clean script
salmanmkc Mar 10, 2025
d0cc341
Bump version to 2.3.0
GhadimiR Mar 10, 2025
7501423
Update RELEASES.md for version 2.3.0
GhadimiR Mar 10, 2025
20fee3e
Update @actions/artifact version to 2.3.0
GhadimiR Mar 10, 2025
9d8017e
Merge pull request #1976 from actions/ghadimir/prep_artifact_release
GhadimiR Mar 10, 2025
790c566
Update releases.yml
GhadimiR Mar 10, 2025
8780507
Merge pull request #1985 from actions/ghadimir/dropdown_releases
GhadimiR Mar 10, 2025
d7ddca4
Fix comment on expectedHash
GhadimiR Mar 11, 2025
769bb0f
Merge pull request #1986 from actions/ghadimir/digest_typo
GhadimiR Mar 11, 2025
0d1d5c7
Bump release version
GhadimiR Mar 11, 2025
b2d2270
Bump package.json
GhadimiR Mar 11, 2025
7ae578d
Merge pull request #1987 from actions/ghadimir/digest_typo
GhadimiR Mar 11, 2025
56c5a39
Update blob-upload.ts
GhadimiR Mar 12, 2025
3ac34ff
Mask different situations, malformed URL, encoded, decoded, raw signa…
salmanmkc Mar 12, 2025
253e837
Merge pull request #1991 from actions/ghadimir/hash_to_digest_upload
GhadimiR Mar 12, 2025
abd9054
Log debug error when failing to decode
salmanmkc Mar 12, 2025
fc48266
PR feedback, back to simplified approach, no export on client as well
salmanmkc Mar 13, 2025
6876e2a
update ts docs
salmanmkc Mar 13, 2025
d13e631
fix tests
salmanmkc Mar 14, 2025
39419dd
don't need to url encode or set var
salmanmkc Mar 14, 2025
957d42e
add encoding back with extra tests
salmanmkc Mar 14, 2025
5143143
Log cache version requested
gitulisca Mar 14, 2025
2559a2a
Merge pull request #1982 from actions/salmanmkc/obfuscate-sas
salmanmkc Mar 17, 2025
4059d2a
update versions for cache and artifact
salmanmkc Mar 17, 2025
261fcae
change it to minor version instead of patch
salmanmkc Mar 17, 2025
4d4bbeb
update package-lock.json
salmanmkc Mar 17, 2025
ff4d4af
shared instead of secure
salmanmkc Mar 17, 2025
c40bccc
Use patch instead of minor
salmanmkc Mar 17, 2025
857c61a
Merge pull request #1994 from gitulisca-enterprise-cloud-testing/gitu…
JoannaaKL Mar 17, 2025
10277d4
Add update to release doc, as will include it in this release
salmanmkc Mar 17, 2025
a410c4a
remove extra brace
salmanmkc Mar 17, 2025
930c890
Merge pull request #1995 from actions/salmanmkc/2-new-cache-artifacts…
salmanmkc Mar 17, 2025
07341e1
fix link in `@actions/artifact` `RELEASES.md`
AbhiPrasad Mar 26, 2025
525ebf0
Merge pull request #2004 from AbhiPrasad/patch-1
salmanmkc Apr 9, 2025
1b1e815
Update README.md (#1719)
alissontenorio Apr 9, 2025
87cb703
add env variable for cache tests
GhadimiR May 6, 2025
d50f1ac
change url
GhadimiR May 6, 2025
5ae4c5b
don't need that maybe
GhadimiR May 6, 2025
d156bca
maybe this works instead
GhadimiR May 6, 2025
e8f276a
alphabetically order them
GhadimiR May 7, 2025
aebe304
Merge pull request #2041 from actions/ghadimir/fix_cache_tests
GhadimiR May 7, 2025
2b47632
fix packages/gh deps
GhadimiR May 7, 2025
2046ee6
gh package release prep
GhadimiR May 7, 2025
07cac0a
bump gh package ver
GhadimiR May 7, 2025
917a43e
bump octokit methods
GhadimiR May 7, 2025
ef199a9
Merge pull request #2043 from actions/ghadimir/audit_fix
GhadimiR May 7, 2025
2e4ab87
artifact deps
GhadimiR May 8, 2025
f32d6bc
bump octokit core
GhadimiR May 8, 2025
6444290
release prep
GhadimiR May 8, 2025
8007c1c
Merge pull request #2049 from actions/ghadimir/audit_fix
GhadimiR May 8, 2025
6ed621e
Bump @octokit/endpoint from 9.0.5 to 9.0.6 in /packages/attest
dependabot[bot] May 8, 2025
957610a
Bump @octokit/request-error from 5.1.0 to 5.1.1 in /packages/attest
dependabot[bot] May 8, 2025
a25b686
Merge pull request #2044 from actions/dependabot/npm_and_yarn/package…
bdehamer May 8, 2025
36db4d6
Merge pull request #2045 from actions/dependabot/npm_and_yarn/package…
bdehamer May 8, 2025
8d8a914
Document `context.runAttempt` in @actions/github 6.0.1 (#2054)
joshmgross May 13, 2025
41b3ce3
Bump undici from 5.28.5 to 5.29.0 in /packages/attest
dependabot[bot] May 15, 2025
f31c292
Merge pull request #2058 from actions/dependabot/npm_and_yarn/package…
bdehamer May 25, 2025
12e323a
Update README.md
nebuk89 Jun 10, 2025
c28e7d4
Update README.md
nebuk89 Jun 12, 2025
683703c
Merge pull request #2086 from actions/nebuk89-patch-1
nebuk89 Jun 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Note that before a PR will be accepted, you must ensure:
1. In a new branch, create a new Lerna package:

```console
$ npm run create-package new-package
$ npm run new-package [name]
```

This will ask you some questions about the new package. Start with `0.0.0` as the first version (look generally at some of the other packages for how the package.json is structured).
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand All @@ -32,7 +32,7 @@ jobs:
run: npm run bootstrap

- name: audit tools (without allow-list)
run: npm audit --audit-level=moderate
run: npm audit --audit-level=moderate --omit dev

- name: audit packages
run: npm run audit-all
4 changes: 2 additions & 2 deletions .github/workflows/cache-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
34 changes: 26 additions & 8 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,40 @@
name: Publish NPM

run-name: Publish NPM - ${{ github.event.inputs.package }}

on:
workflow_dispatch:
inputs:
package:
type: choice
required: true
description: 'core, artifact, cache, exec, github, glob, http-client, io, tool-cache'
description: 'Which package to release'
options:
- artifact
- attest
- cache
- core
- exec
- github
- glob
- http-client
- io
- tool-cache


jobs:
test:
runs-on: macos-latest
runs-on: macos-latest-large

steps:
- name: setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: verify package exists
run: ls packages/${{ github.event.inputs.package }}

- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand All @@ -40,19 +55,22 @@ jobs:
working-directory: packages/${{ github.event.inputs.package }}

- name: upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.inputs.package }}
path: packages/${{ github.event.inputs.package }}/*.tgz

publish:
runs-on: macos-latest
runs-on: macos-latest-large
needs: test
environment: npm-publish
permissions:
contents: read
id-token: write
steps:

- name: download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.event.inputs.package }}

Expand All @@ -62,7 +80,7 @@ jobs:
NPM_TOKEN: ${{ secrets.TOKEN }}

- name: publish
run: npm publish *.tgz
run: npm publish --provenance *.tgz

- name: notify slack on failure
if: failure()
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,23 @@ jobs:

strategy:
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: [ubuntu-latest, macos-latest-large, windows-latest]

# Node 18 is the current default Node version in hosted runners, so users may still use the toolkit with it when running tests (see https://github.com/actions/toolkit/issues/1841)
# Node 20 is the currently support Node version for actions - https://docs.github.com/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runsusing-for-javascript-actions
node-version: [18.x, 20.x]
fail-fast: false

runs-on: ${{ matrix.runs-on }}

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v3
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: ${{ matrix.node-version }}

- name: npm install
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: ${{ github.repository_owner == 'actions' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Update Octokit
working-directory: packages/github
run: |
Expand Down
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

/packages/artifact/ @actions/artifacts-actions
/packages/cache/ @actions/actions-cache
/packages/attest/ @actions/package-security
45 changes: 34 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The GitHub Actions ToolKit provides a set of packages to make creating actions e
Provides functions for inputs, outputs, results, logging, secrets and variables. Read more [here](packages/core)

```bash
$ npm install @actions/core
npm install @actions/core
```
<br/>

Expand All @@ -33,7 +33,7 @@ $ npm install @actions/core
Provides functions to exec cli tools and process output. Read more [here](packages/exec)

```bash
$ npm install @actions/exec
npm install @actions/exec
```
<br/>

Expand All @@ -42,7 +42,7 @@ $ npm install @actions/exec
Provides functions to search for files matching glob patterns. Read more [here](packages/glob)

```bash
$ npm install @actions/glob
npm install @actions/glob
```
<br/>

Expand All @@ -51,7 +51,7 @@ $ npm install @actions/glob
A lightweight HTTP client optimized for building actions. Read more [here](packages/http-client)

```bash
$ npm install @actions/http-client
npm install @actions/http-client
```
<br/>

Expand All @@ -60,7 +60,7 @@ $ npm install @actions/http-client
Provides disk i/o functions like cp, mv, rmRF, which etc. Read more [here](packages/io)

```bash
$ npm install @actions/io
npm install @actions/io
```
<br/>

Expand All @@ -71,7 +71,7 @@ Provides functions for downloading and caching tools. e.g. setup-* actions. Rea
See @actions/cache for caching workflow dependencies.

```bash
$ npm install @actions/tool-cache
npm install @actions/tool-cache
```
<br/>

Expand All @@ -80,7 +80,7 @@ $ npm install @actions/tool-cache
Provides an Octokit client hydrated with the context that the current action is being run in. Read more [here](packages/github)

```bash
$ npm install @actions/github
npm install @actions/github
```
<br/>

Expand All @@ -89,7 +89,7 @@ $ npm install @actions/github
Provides functions to interact with actions artifacts. Read more [here](packages/artifact)

```bash
$ npm install @actions/artifact
npm install @actions/artifact
```
<br/>

Expand All @@ -98,7 +98,16 @@ $ npm install @actions/artifact
Provides functions to cache dependencies and build outputs to improve workflow execution time. Read more [here](packages/cache)

```bash
$ npm install @actions/cache
npm install @actions/cache
```
<br/>

:lock_with_ink_pen: [@actions/attest](packages/attest)

Provides functions to write attestations for workflow artifacts. Read more [here](packages/attest)

```bash
npm install @actions/attest
```
<br/>

Expand Down Expand Up @@ -218,9 +227,23 @@ console.log(`We can even get context data, like the repo: ${context.repo.repo}`)
```
<br/>

## Contributing
## Note

Thank you for your interest in this GitHub repo, however, right now we are not taking contributions.

We continue to focus our resources on strategic areas that help our customers be successful while making developers' lives easier. While GitHub Actions remains a key part of this vision, we are allocating resources towards other areas of Actions and are not taking contributions to this repository at this time. The GitHub public roadmap is the best place to follow along for any updates on features we’re working on and what stage they’re in.

We are taking the following steps to better direct requests related to GitHub Actions, including:

1. We will be directing questions and support requests to our [Community Discussions area](https://github.com/orgs/community/discussions/categories/actions)

2. High Priority bugs can be reported through Community Discussions or you can report these to our support team https://support.github.com/contact/bug-report.

3. Security Issues should be handled as per our [security.md](SECURITY.md).

We will still provide security updates for this project and fix major breaking changes during this time.

We welcome contributions. See [how to contribute](.github/CONTRIBUTING.md).
You are welcome to still raise bugs in this repo.

## Code of Conduct

Expand Down
2 changes: 1 addition & 1 deletion docs/action-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
os: [ubuntu-16.04, windows-2019]
runs-on: ${{matrix.os}}
actions:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
version: ${{matrix.node}}
- run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/container-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ e.g. To use https://github.com/actions/setup-node, users will author:

```yaml
steps:
using: actions/setup-node@v3
using: actions/setup-node@v4
```

# Define Metadata
Expand Down
Loading