Files
pnpm/pnpm11/deps/github-actions/tsconfig.json
AltayandZoltan Kochan 173edd5b42 fix(github-actions): apply minimumReleaseAge to action updates (#15556)
`pnpm outdated` and `pnpm update` with `--include-github-actions` offered
any tagged release of an action, however new, while the same commands hold
registry packages to `minimumReleaseAge`.

`git ls-remote` lists tags without dates, so when the policy is active the
tags newer than the version an action is on are fetched with
`--depth=1 --filter=tree:0` into a scratch repository, one fetch per
repository, and their creation date is read with `for-each-ref`: the tagger
date of an annotated tag, the committer date of a lightweight one. This
stays on git, so it works with any `update.githubActionsServer`.
Candidates newer than the current version are offered only when their date
is at or before the cutoff. `minimumReleaseAgeExclude` entries are matched
against the action and repository names, with exact versions supported.
A repository whose dates cannot be read is skipped with a warning, like one
whose refs cannot be listed.

Closes pnpm/pnpm#13923

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2026-09-24 22:09:44 +02:00

29 lines
459 B
JSON

{
"extends": "@pnpm/tsconfig",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src"
},
"include": [
"src/**/*.ts",
"../../__typings__/**/*.d.ts"
],
"references": [
{
"path": "../../config/version-policy"
},
{
"path": "../../core/error"
},
{
"path": "../../core/types"
},
{
"path": "../../network/git-utils"
},
{
"path": "../../resolving/git-resolver"
}
]
}