Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
476 commits
Select commit Hold shift + click to select a range
3e383cd
Update RELEASES
lvpx Oct 13, 2022
18103f6
Fix licensed status error
lvpx Oct 13, 2022
9b0c1fc
Merge pull request #956 from actions/pdotl-version-bump
lvpx Oct 13, 2022
2b04a41
timeout env var key is not correct in README.md (#959)
walterddr Oct 18, 2022
4fe9c4b
Updated release file with correct env variable (#960)
kotewar Oct 18, 2022
5294b3f
Update README.md
kotewar Oct 18, 2022
76639bb
Create pull_request_template.md
lvpx Oct 21, 2022
5085ac9
Merge pull request #963 from actions/pdotl-patch-1
lvpx Oct 26, 2022
083fb30
Merge branch 'main' into kotewar/doc-update
kotewar Oct 26, 2022
14f2d18
Moved recommendation to skipping steps section
kotewar Oct 26, 2022
8bec1e4
Merge pull request #961 from actions/kotewar/doc-update
kotewar Oct 26, 2022
d0af8a3
Change datadog/squid to Ubuntu/squid in CI check (#976)
bishal-pdMSFT Nov 7, 2022
9a6a4f6
Add more details to version section in readme (#971)
bishal-pdMSFT Nov 7, 2022
0e93819
Update hashFiles documentation reference
asaf400 Nov 9, 2022
db8d946
Merge pull request #979 from asaf400/patch-2
Nov 13, 2022
3ff0460
Updated link for cache segment download info
kotewar Nov 16, 2022
5c79b3f
Merge pull request #986 from actions/kotewar-patch-1
kotewar Nov 16, 2022
6babf20
Readme update for deleting caches (#981)
t-dedah Nov 21, 2022
ef145dd
Add oncall logic to assign issues and PRs
Nov 28, 2022
fa88563
Merge pull request #997 from actions/vsvipul/change-assignee-logic
Nov 28, 2022
cfa1b76
Bump minimatch from 3.0.4 to 3.1.2
dependabot[bot] Nov 28, 2022
651d829
Change pull_request to pull_request_target for PR review
Nov 28, 2022
2a6cd14
Add assignee to PR automatically
Nov 29, 2022
f8116c8
Bug fix in PR assignee workflow
Nov 29, 2022
7920f57
Use cache in check-dist.yml
jongwooo Nov 29, 2022
58a0402
Merge branch 'main' into dependabot/npm_and_yarn/minimatch-3.1.2
Phantsure Nov 30, 2022
8d99052
Merge pull request #998 from actions/dependabot/npm_and_yarn/minimatc…
Phantsure Nov 30, 2022
24f54d7
Revert "Bump minimatch from 3.0.4 to 3.1.2"
Nov 30, 2022
b4ac56f
Merge pull request #1005 from actions/revert-998-dependabot/npm_and_y…
Phantsure Nov 30, 2022
268ae08
Fix npm vulnerability
Phantsure Nov 30, 2022
ce61cc4
Fix license test
Phantsure Nov 30, 2022
b26da1f
Fix license
Phantsure Nov 30, 2022
5327520
Change with new dependencies
Phantsure Nov 30, 2022
e2d6144
Merge pull request #1007 from actions/phantsure/npm-fix
Nov 30, 2022
0d47d16
Merge branch 'main' into chore/use-cache-in-check-dist
jongwooo Nov 30, 2022
e050ebd
chore: Use setup-node action to cache dependencies
jongwooo Nov 30, 2022
35f4702
refactor: Use early return pattern to avoid nested conditions
jongwooo Dec 2, 2022
a2f324e
Merge pull request #1013 from jongwooo/refactor/use-early-return-patt…
Phantsure Dec 2, 2022
08d8639
Merge branch 'main' into chore/use-cache-in-check-dist
jongwooo Dec 3, 2022
941bc71
Merge pull request #1004 from jongwooo/chore/use-cache-in-check-dist
kotewar Dec 5, 2022
04b13ca
chore: Use built-in cache action to cache dependencies
jongwooo Dec 5, 2022
a57932f
Merge pull request #1014 from jongwooo/chore/use-built-in-cache-action
kotewar Dec 5, 2022
fb86cbf
Updated node example (#1008)
t-dedah Dec 7, 2022
dc097e3
Update examples.md (#1026)
apascualm Dec 11, 2022
ac25611
docs: fix an invalid link in workarounds.md (#929)
teatimeguest Dec 11, 2022
c17f4bf
GA for granular cache (#1035)
kotewar Dec 21, 2022
9b0be58
Release compression related changes for windows (#1039)
Phantsure Dec 23, 2022
c1a5de8
Upgrade codeql to v2 (#1023)
Phantsure Dec 23, 2022
501277c
README.md: remove outdated Windows cache tip link
me-and Dec 24, 2022
b053f2b
Fix formatting error in restore/README.md (#1044)
me-and Dec 26, 2022
60c7666
save/README.md: Fix typo in example (#1040)
mmuetzel Dec 26, 2022
d70353d
:memo: #1045 update using the `set-output` command is deprecated
siguici Dec 26, 2022
3337563
Merge branch 'main' into correct-readme-re-windows
lvpx Dec 26, 2022
d1507cc
Merge pull request #1042 from me-and/correct-readme-re-windows
lvpx Dec 26, 2022
4723a57
Revert compression changes related to windows but keep version loggin…
Phantsure Dec 27, 2022
d0e7eb0
Merge branch 'main' into update-docs
lvpx Dec 29, 2022
84e5400
Merge remote-tracking branch 'origin/main' into feature/add_mint_example
uhooi Dec 29, 2022
d621756
Update Mint example
uhooi Dec 29, 2022
365406c
Merge pull request #1051 from uhooi/feature/add_mint_example
tanuj077 Dec 30, 2022
1f41429
Fixed broken link (#1057)
kotewar Jan 5, 2023
6fd2d45
Add support to opt-in enable cross-os caching on windows (#1056)
Phantsure Jan 5, 2023
58c146c
Release support for cross-os caching as opt-in feature (#1060)
Phantsure Jan 9, 2023
e630eda
Fix json5 package version
Jan 9, 2023
87396fe
Merge pull request #1065 from actions/vsvipul/dep-fix
Jan 9, 2023
094a240
Add gnu tar and zstd as pre-requisites for windows self-hosted runners
lvpx Jan 10, 2023
9183691
Cache recipes for cache, restore and save actions (#1055)
kotewar Jan 12, 2023
76ee6bd
Merge branch 'main' into pdotl-patch-1
lvpx Jan 12, 2023
efacb02
Merge pull request #1068 from actions/pdotl-patch-1
lvpx Jan 12, 2023
003f545
Merge branch 'main' into update-docs
tanuj077 Jan 12, 2023
c9869a5
Fix a whitespace typo (#1074)
kurtmckee Jan 16, 2023
804b679
Merge branch 'main' into update-docs
tanuj077 Jan 16, 2023
5868318
Merge pull request #1046 from siguikesse/update-docs
tanuj077 Jan 16, 2023
22cbf49
Fix referenced output key in save action readme (#1061)
ruudk Jan 16, 2023
4791017
Update workflows to use reusable-workflows (#1066)
jongwooo Jan 17, 2023
8315026
Add add-to-project step & rename workflow assign-issue workflow file
pallavx Jan 18, 2023
3c08cab
Introduce add-to-project step & rename add-reviewer-pr workflow file
pallavx Jan 18, 2023
9b7ef12
Merge pull request #1077 from actions/pallavx-patch-1
pallavx Jan 18, 2023
cd2aaa9
chore: Fix syntax error typo
vHeemstra Jan 19, 2023
b635368
there as well ;)
vHeemstra Jan 19, 2023
6c2de3b
Merge pull request #1081 from vHeemstra/patch-1
lvpx Jan 20, 2023
2b5a782
Update caching-strategies.md (#1084)
kpfleming Jan 22, 2023
75b110b
Added another hint to foresee #1072
maybeec Jan 27, 2023
1b004e8
Update tips-and-workarounds.md
maybeec Jan 27, 2023
8e3048d
Merge pull request #1089 from maybeec/patch-1
lvpx Jan 27, 2023
627f0f4
Add `fail-on-cache-miss` option (#1036)
cdce8p Jan 30, 2023
22d3da7
Rewrite readmes (#1085)
jsoref Jan 31, 2023
e083308
Fixed typos and formatting in docs (#1076)
kotewar Feb 3, 2023
2b8105b
Fixing paths for OSes (#1101)
kotewar Feb 3, 2023
6998d13
Release patch version update (#1105)
Phantsure Feb 10, 2023
81b7281
Updated branch in Force deletion of caches (#1108)
t-dedah Feb 14, 2023
95b455a
3.2.6
lvpx Feb 20, 2023
8f7fa5d
Bump @actions/cache version
lvpx Feb 20, 2023
7d4d6f7
Update package-lock.json
lvpx Feb 20, 2023
b1db4b4
Fix zstd breaking after new version release
lvpx Feb 20, 2023
8d3a1e0
Fix license
lvpx Feb 20, 2023
69d9d44
Merge pull request #1118 from actions/pdotl/zstd-hotfix
lvpx Feb 21, 2023
77eb7eb
Update Cross-OS Caching tips
lvpx Feb 23, 2023
e0d6227
docs: Add missing permission in cache delete example (#1123)
kotokaze Feb 27, 2023
940f3d7
Add `lookup-only` option (#1041)
cdce8p Mar 9, 2023
7893481
Change two new actions mention as quoted text
bishal-pdMSFT Mar 11, 2023
4b381be
Add example for Bazel
davidB Apr 29, 2021
ef11f54
Fix example for Bazel
vorburger Mar 11, 2023
88522ab
Reduced download segment size to 128 MB and timeout to 10 minutes (#1…
kotewar Mar 13, 2023
4e7c822
Merge branch 'main' into bishal-pdMSFT-patch-4
bishal-pdMSFT Mar 13, 2023
cb865c1
Fixed readme with new segment timeout values (#1133)
kotewar Mar 13, 2023
57014a2
Readme fixes (#1134)
kotewar Mar 13, 2023
4b8460c
Create separate Linux/macOS examples for Bazel
vorburger Mar 13, 2023
bf96a3f
Merge branch 'main' into bishal-pdMSFT-patch-4
bishal-pdMSFT Mar 13, 2023
84995e0
Updated description of the lookup-only input for main action (#1130)
kotewar Mar 13, 2023
5cb4bb8
Merge branch 'main' into bishal-pdMSFT-patch-4
bishal-pdMSFT Mar 13, 2023
6f1f1e1
Clarify that macos-latest image has bazelisk
vorburger Mar 13, 2023
8f2671f
Merge branch 'main' into bazel-example
vorburger Mar 13, 2023
9c7b3e9
Merge pull request #1131 from actions/bishal-pdMSFT-patch-4
Mar 13, 2023
6a1a45d
Merge branch 'main' into pdotl-patch-1
lvpx Mar 17, 2023
ea05037
Merge pull request #1122 from actions/pdotl-patch-1
lvpx Mar 17, 2023
bd9b49b
Merge branch 'main' into bazel-example
Mar 21, 2023
04f198b
Merge pull request #1132 from vorburger/bazel-example
Mar 21, 2023
57f0e3f
Remove actions to add new PRs and issues to a project board
jorendorff Jun 12, 2023
67b839e
Merge pull request #1187 from jorendorff/jorendorff/rm-add-to-project
jidicula Jun 12, 2023
f7ebb81
Consume latest toolkit and fix dangling promise bug (#1217)
chkimes Aug 9, 2023
667d8fd
bump action version to 3.3.2
bethanyj28 Sep 6, 2023
17e2888
Add to RELEASES.md
bethanyj28 Sep 6, 2023
704facf
Merge pull request #1236 from actions/bethanyj28/bump-version
bethanyj28 Sep 7, 2023
b1378c8
added save-always input
to-s Sep 13, 2023
3b7dac1
Update action.yml
to-s Nov 6, 2023
0e9aed0
Revert "Update action.yml"
to-s Nov 8, 2023
2001ca4
Update action to node20
takost Nov 20, 2023
6f0a1fd
Update check-dist node version
takost Dec 14, 2023
99d573b
Rebuild dist
takost Dec 15, 2023
b00bedb
Update license
takost Dec 15, 2023
a0a285f
replace deprecated @zeit/ncc with @vercel/ncc
takost Dec 15, 2023
25618a0
Bump version
takost Jan 10, 2024
3185ecf
Update "only-" actions to node20
takost Jan 10, 2024
0122982
Apply workaround for earlyExit
takost Jan 10, 2024
e718767
Fix format
takost Jan 10, 2024
eb94f1a
cache v3.3.3
robherley Jan 11, 2024
1baebfc
licensed
robherley Jan 11, 2024
e12d46a
Merge pull request #1302 from actions/robherley/v3.3.3
robherley Jan 11, 2024
1326563
Merge branch 'main' into main
robherley Jan 11, 2024
66cf064
Merge branch 'main' into update-to-node-20
takost Jan 15, 2024
d0be34d
Fix dist
takost Jan 15, 2024
65b8989
Merge pull request #1284 from takost/update-to-node-20
yacaovsnc Jan 16, 2024
53b35c5
Merge branch 'main' into main
robherley Jan 16, 2024
13aacd8
Merge pull request #1242 from to-s/main
robherley Jan 16, 2024
c36458f
Update README.md
yacaovsnc Jan 17, 2024
1d78355
Merge pull request #1304 from actions/yacaovsnc/update_readme
yacaovsnc Jan 17, 2024
dc88ab5
Update examples
yacaovsnc Jan 17, 2024
a2ed59d
Merge pull request #1305 from actions/yacaovsnc/update_examples
yacaovsnc Jan 17, 2024
104f956
update documentation to use <action>@v4
todgru Jan 26, 2024
a18323f
add release action
bethanyj28 Feb 29, 2024
37e7d4e
Merge pull request #1340 from actions/bethanyj28/update-publish-flow
bethanyj28 Feb 29, 2024
d2c84da
update @actions/cache
bethanyj28 Feb 29, 2024
89c7d86
licensed cache
bethanyj28 Feb 29, 2024
ab5e6d0
Merge pull request #1341 from bethanyj28/main
bethanyj28 Feb 29, 2024
e29dad3
Fix fail-on-cache-miss not working
cdce8p Feb 15, 2024
3884cac
Bump version
cdce8p Feb 15, 2024
8a55f83
Add test case for process exit
cdce8p Mar 19, 2024
0c45773
Merge pull request #1327 from cdce8p/fix-fail-on-cache-miss
bethanyj28 Mar 19, 2024
bf9a757
Merge branch 'main' into todgru/v4-documentation-update
todgru Apr 24, 2024
4a28cbc
Update README.md and use v4 of checkout action (#1437)
ottlinger Jul 29, 2024
e47d9f9
Explicit use bash for Windows (#1377)
Olegt0rr Jul 31, 2024
40c3b67
Fix cache-hit output when cache missed (#1404)
fchimpan Jul 31, 2024
57b8e40
Clarify that the `restore-keys` input is a string in the docs (#1434)
x612skm Aug 6, 2024
c4ee99a
Merge branch 'main' into todgru/v4-documentation-update
Link- Aug 14, 2024
81382a7
Merge pull request #1311 from todgru/todgru/v4-documentation-update
Link- Aug 14, 2024
45b7be0
Add workflow file for publishing releases to immutable action package
Jcambass Oct 3, 2024
f8a7ab4
Merge pull request #1463 from actions/Jcambass-patch-1
Jcambass Oct 3, 2024
c74ca40
Deprecate `save-always` input (#1452)
joshmgross Oct 3, 2024
cf7a75e
Fix typo: depening -> depending (#1462)
mackey0225 Oct 3, 2024
a11fb02
restore action's README now references v4 instead of v3 (#1445)
llakala Oct 3, 2024
2cdf405
Prepare `4.1.0` release (#1464)
joshmgross Oct 4, 2024
3624ceb
Restore original behavior of `cache-hit` output (#1467)
joshmgross Oct 8, 2024
8469c94
Add Bun example (#1456)
idleberg Oct 8, 2024
d730250
Revise `isGhes` logic
jww3 Oct 18, 2024
25942a7
ran `npm run build`
jww3 Oct 18, 2024
71d826c
appease the linter
jww3 Oct 18, 2024
e7e2547
added unit tests
jww3 Oct 18, 2024
9803087
Merge pull request #1474 from actions/jww3-isghes-fix
Link- Oct 22, 2024
8585f2a
Bump braces from 3.0.2 to 3.0.3
dependabot[bot] Oct 22, 2024
e5dc90d
Merge pull request #1475 from actions/dependabot/npm_and_yarn/braces-…
Link- Oct 22, 2024
7723852
Create dependabot.yml
Link- Oct 22, 2024
aa55e5f
Prepare release 4.1.2
Link- Oct 22, 2024
3aef79d
Enable dependabot updates
Link- Oct 22, 2024
5d692d6
Bump actions/checkout from 3 to 4
dependabot[bot] Oct 22, 2024
4ca7071
Bump actions/stale from 3 to 9
dependabot[bot] Oct 22, 2024
d6151ba
Merge pull request #1478 from actions/dependabot/github_actions/actio…
Link- Oct 22, 2024
010f24c
Merge branch 'main' into dependabot/github_actions/actions/stale-9
Link- Oct 22, 2024
255c8ff
Bump actions/setup-node from 3 to 4
dependabot[bot] Oct 22, 2024
ebdd24e
Merge pull request #1479 from actions/dependabot/github_actions/actio…
Link- Oct 22, 2024
6f6220b
Merge branch 'main' into dependabot/github_actions/actions/setup-node-4
Link- Oct 22, 2024
02bf319
Bump github/codeql-action from 2 to 3
dependabot[bot] Oct 22, 2024
366d43d
Merge pull request #1483 from actions/dependabot/github_actions/githu…
Link- Oct 22, 2024
cc679ff
Merge branch 'main' into dependabot/github_actions/actions/setup-node-4
Link- Oct 22, 2024
1ea5f18
Merge branch 'main' into Link-/prep-4.1.2
Link- Oct 22, 2024
acc9ae5
Merge pull request #1481 from actions/dependabot/github_actions/actio…
Link- Oct 22, 2024
a50e8d0
Merge branch 'main' into Link-/prep-4.1.2
Link- Oct 22, 2024
d9fef48
Merge branch 'main' into Link-/prep-4.1.2
Link- Oct 22, 2024
5a1720c
Merge branch 'Link-/prep-4.1.2' of https://github.com/actions/cache i…
Link- Oct 22, 2024
6849a64
Release 4.1.2 #1477
Link- Oct 22, 2024
4bc41c0
Upgrade @actions/cache to 4.0.0
Link- Dec 4, 2024
faf6392
Update RELEASES.md
Link- Dec 4, 2024
b7d227d
Upgrade @vercel/ncc to 0.38.3
Link- Dec 4, 2024
b109c12
Upgrade @actions/core to 1.11.1 and other deps
Link- Dec 4, 2024
c16df86
Add licensed output
Link- Dec 4, 2024
4ae6f21
Add reviewed licensed packages
Link- Dec 4, 2024
e6f5858
Add lodash to list of reviewed licenses
Link- Dec 4, 2024
f46ceeb
Add licensed output
Link- Dec 4, 2024
f2695d7
Rerun CI
Link- Dec 5, 2024
882d7ce
Add 3.4.0 release notes
Link- Dec 5, 2024
1bd1e32
Merge pull request #1509 from actions/Link-/cache-4.2.0
Link- Dec 5, 2024
53aa38c
Correct GitHub Spelling in caching-strategies.md (#1526)
janco-absa Jan 6, 2025
36f1e14
docs: Make the "always save prime numbers" example more clear (#1525)
Tobbe Jan 9, 2025
9fa7e61
Update force deletion docs due a recent deprecation (#1500)
sebbalex Feb 12, 2025
710893c
bump @actions/cache to v4.0.1
robherley Feb 14, 2025
0c907a7
Merge pull request #1554 from actions/robherley/v4.2.1
robherley Feb 18, 2025
3937731
Update publish-immutable-actions.yml
robherley Feb 18, 2025
7921ae2
Merge pull request #1557 from actions/robherley/ia-workflow-released
robherley Feb 18, 2025
da26677
bump @actions/cache to v4.0.2, prep for v4.2.2 release
robherley Feb 26, 2025
d4323d4
Merge pull request #1560 from actions/robherley/v4.2.2
robherley Feb 27, 2025
1b5d75f
add changes
salmanmkc Mar 7, 2025
eca7c65
changed
salmanmkc Mar 7, 2025
5b6ae99
mask whole url
salmanmkc Mar 7, 2025
c30eb55
debugging
salmanmkc Mar 7, 2025
f248408
type
salmanmkc Mar 7, 2025
507b84c
artifact changes
salmanmkc Mar 7, 2025
7d05b27
update cache package to mask whole sas to the end of the line
salmanmkc Mar 10, 2025
9450d42
mask
salmanmkc Mar 10, 2025
3105dc9
update
salmanmkc Mar 10, 2025
0576707
latest test before pr
salmanmkc Mar 10, 2025
edd449b
updated cache with latest changes
salmanmkc Mar 12, 2025
45cfd0e
updates
salmanmkc Mar 13, 2025
8c80c27
new package
salmanmkc Mar 13, 2025
76dd5eb
update cache with main
salmanmkc Mar 18, 2025
76d40dd
Update to use the latest version of the cache package to obfuscate th…
salmanmkc Mar 18, 2025
7de2102
Update releases.md
salmanmkc Mar 18, 2025
5a3ec84
Merge pull request #1577 from salmanmkc/salmanmkc/4-test
salmanmkc Mar 19, 2025
c45d391
Update README.md
nebuk89 Jun 16, 2025
640a1c2
Merge pull request #1620 from actions/nebuk89-patch-1
nebuk89 Jun 17, 2025
e7b6a9c
@protobuf-ts/plugin to dev dependencies
Link- Aug 6, 2025
de24398
Add licensed output
Link- Aug 6, 2025
d81cc47
Add licensed output
Link- Aug 6, 2025
320fe7d
Update the licensed workflow to use the latest version
Link- Aug 6, 2025
c36116c
Fix the workflow to use licensed from source
Link- Aug 6, 2025
94f7b5d
Fix bundle exec
Link- Aug 6, 2025
2ee706e
Fix with another approach
Link- Aug 6, 2025
358a730
Merge pull request #1634 from actions/Link-/optimise-deps
Link- Aug 6, 2025
374a27f
Prepare release 4.2.4
Link- Aug 7, 2025
0400d5f
Merge pull request #1636 from actions/Link-/release-4.2.4
Link- Aug 7, 2025
3862dcc
Add note on runner versions
GhadimiR Aug 11, 2025
638ed79
Merge pull request #1642 from actions/GhadimiR-patch-1
GhadimiR Aug 11, 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
14 changes: 14 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
// Features to add to the dev container. More info: https://containers.dev/implementors/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
"rules": {
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"simple-import-sort/sort": "error",
"simple-import-sort/imports": "error",
"sort-imports": "off"
}
}
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.licenses/** -diff linguist-generated=true
.licenses/** -diff linguist-generated=true
* text=auto eol=lf
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @actions/actions-cache
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
minor-actions-dependencies:
update-types: [minor, patch]

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: direct
- dependency-type: production
32 changes: 32 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (add or update README or docs)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
19 changes: 19 additions & 0 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check dist/

on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
call-check-dist:
name: Check dist/
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
with:
node-version: "20.x"
22 changes: 22 additions & 0 deletions .github/workflows/close-inactive-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close inactive issues
on:
schedule:
- cron: "30 8 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 200
days-before-issue-close: 5
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days."
close-issue-message: "This issue was closed because it has been inactive for 5 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
44 changes: 19 additions & 25 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,39 @@ on:

jobs:
CodeQL-Build:

# CodeQL runs on ubuntu-latest and windows-latest
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
# languages: go, javascript, csharp, python, cpp, java, ruby

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language

#- run: |
# make bootstrap
# make release
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
16 changes: 16 additions & 0 deletions .github/workflows/issue-opened-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Assign issue
on:
issues:
types: [opened]
jobs:
run-action:
runs-on: ubuntu-latest
steps:
- name: Get current oncall
id: oncall
run: |
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT
- name: add_assignees
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.issue.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
42 changes: 31 additions & 11 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,40 @@
name: Licensed

on:
push: {branches: main}
pull_request: {branches: main}
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
test:
validate-cached-dependency-records:
runs-on: ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v2
- run: npm ci
- name: Install licensed

- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.7'

- name: Install licensed tool
run: |
cd "$RUNNER_TEMP"
curl -Lfs -o licensed.tar.gz https://github.com/licensee/licensed/archive/refs/tags/v5.0.4.tar.gz
tar -xzf licensed.tar.gz
cd licensed-5.0.4
bundle install

- name: Check cached dependency records
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status
cd ${{ github.workspace }}
BUNDLE_GEMFILE=$RUNNER_TEMP/licensed-5.0.4/Gemfile bundle exec $RUNNER_TEMP/licensed-5.0.4/exe/licensed status
20 changes: 20 additions & 0 deletions .github/workflows/pr-opened-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add Reviewer PR
on:
pull_request_target:
types: [opened]
jobs:
run-action:
runs-on: ubuntu-latest
steps:
- name: Get current oncall
id: oncall
run: |
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT

- name: Request Review
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/pulls/${{ github.event.pull_request.number}}/requested_reviewers -d '{"reviewers":["${{steps.oncall.outputs.CURRENT}}"]}'

- name: Add Assignee
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
20 changes: 20 additions & 0 deletions .github/workflows/publish-immutable-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Publish Immutable Action Version'

on:
release:
types: [released]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write

steps:
- name: Checking out
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/[email protected]
28 changes: 28 additions & 0 deletions .github/workflows/release-new-action-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release new action version
on:
release:
types: [released]
workflow_dispatch:
inputs:
TAG_NAME:
description: 'Tag name that the major tag will point to'
required: true

env:
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
permissions:
contents: write

jobs:
update_tag:
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
environment:
name: releaseNewActionVersion
runs-on: ubuntu-latest
steps:
- name: Update the ${{ env.TAG_NAME }} tag
id: update-major-tag
uses: actions/[email protected]
with:
source-tag: ${{ env.TAG_NAME }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
Loading