diff --git a/action_metadata_test.go b/action_metadata_test.go index b8b3539b9..c3d009870 100644 --- a/action_metadata_test.go +++ b/action_metadata_test.go @@ -228,7 +228,7 @@ func TestLocalActionsParsingSkipped(t *testing.T) { { what: "not a local action", proj: &Project{"", nil}, - spec: "actions/checkout@v3", + spec: "actions/checkout@v4", }, { what: "action does not exist (#25, #40)", diff --git a/docs/checks.md b/docs/checks.md index a03fee324..a646d2fc5 100644 --- a/docs/checks.md +++ b/docs/checks.md @@ -512,7 +512,7 @@ jobs: # ERROR: The step is not run yet at this point - run: echo ${{ steps.cache.outputs.cache-hit }} # actions/cache sets cache-hit output - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: key: ${{ hashFiles('**/*.lock') }} @@ -1755,7 +1755,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: keys: | ${{ hashFiles('**/*.lock') }} @@ -1767,11 +1767,11 @@ jobs: Output: ``` -test.yaml:7:15: missing input "key" which is required by action "actions/cache@v3". all required inputs are "key", "path" [action] +test.yaml:7:15: missing input "key" which is required by action "actions/cache@v4". all required inputs are "key", "path" [action] | -7 | - uses: actions/cache@v3 +7 | - uses: actions/cache@v4 | ^~~~~~~~~~~~~~~~ -test.yaml:9:11: input "keys" is not defined in action "actions/cache@v3". available inputs are "key", "path", "restore-keys", "upload-chunk-size" [action] +test.yaml:9:11: input "keys" is not defined in action "actions/cache@v4". available inputs are "key", "path", "restore-keys", "upload-chunk-size" [action] | 9 | keys: | | ^~~~~ @@ -1779,7 +1779,7 @@ test.yaml:9:11: input "keys" is not defined in action "actions/cache@v3". availa [Playground](https://rhysd.github.io/actionlint#eJyFj0EKwjAQRfc9xV8I1UJbcJmVK+8xDYOpqUlwEkVq725apYgbV8PMe/Dne6cQkpiiOPtOVAFEljhP4Jqc1D4LqUsupnqgmS1IIgd5W0CNJCwKpGPvnbSatOHDbf/BwL2PRq0bYPmR9efXBdiMIwyJOfYDy7asqrZqBq9tucM0/TWXyF81UI5F0wbSlk4s67u5mMKFLL8A+h9EEw==) -actionlint checks inputs of many popular actions such as `actions/checkout@v3`. It checks +actionlint checks inputs of many popular actions such as `actions/checkout@v4`. It checks - some input is required by the action but it is not set at `with:` - input set at `with:` is not defined in the action (this commonly occurs by a typo) @@ -1787,8 +1787,8 @@ actionlint checks inputs of many popular actions such as `actions/checkout@v3`. this is done by checking `with:` section items with a small database collected at building `actionlint` binary. actionlint can check popular actions without fetching any `action.yml` of the actions from the remote so that it can run efficiently. -Note that it only supports the case of specifying major versions like `actions/checkout@v3`. Fixing version of action like -`actions/checkout@v3.0.2` and using the HEAD of action like `actions/checkout@main` are not supported for now. +Note that it only supports the case of specifying major versions like `actions/checkout@v4`. Fixing version of action like +`actions/checkout@v4.0.1` and using the HEAD of action like `actions/checkout@main` are not supported for now. So far, actionlint supports more than 100 popular actions The data set is embedded at [`popular_actions.go`](../popular_actions.go) and were automatically collected by [a script][generate-popular-actions]. If you want more checks for other actions, please @@ -1806,16 +1806,16 @@ jobs: test: runs-on: ubuntu-latest steps: - # ERROR: actions/checkout@v2 is using the outdated runner 'node12' - - uses: actions/checkout@v2 + # ERROR: actions/checkout@v3 is using the outdated runner 'node16' + - uses: actions/checkout@v3 ``` Output: ``` -test.yaml:8:15: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] +test.yaml:8:15: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] | -8 | - uses: actions/checkout@v2 +8 | - uses: actions/checkout@v3 | ^~~~~~~~~~~~~~~~~~~ ``` @@ -1823,10 +1823,10 @@ test.yaml:8:15: the runner of "actions/checkout@v2" action is too old to run on In addition to the checks for inputs of actions described in [the previous section](#check-popular-action-inputs), actionlint reports an error when a popular action is 'outdated'. An action is outdated when the runner used by the action is no longer -supported by GitHub Actions runtime. For example, `node12` is no longer available so any actions can use `node12` runner. +supported by GitHub Actions runtime. For example, `node12` is no longer available so any actions can not use `node12` runner. -Note that this check doesn't report that the action version is up-to-date. For example, even if you use `actions/checkout@v3` and -newer version `actions/checkout@v4` is available, actionlint reports no error as long as `actions/checkout@v3` is not outdated. +Note that this check doesn't report that the action version is up-to-date. For example, even if you use `actions/checkout@v4` and +newer version `actions/checkout@v5` is available, actionlint reports no error as long as `actions/checkout@v4` is not outdated. If you want to keep actions used by your workflows up-to-date, consider to use [Dependabot][dependabot-doc]. diff --git a/example_your_own_rule_test.go b/example_your_own_rule_test.go index 77e1baa08..c86740af5 100644 --- a/example_your_own_rule_test.go +++ b/example_your_own_rule_test.go @@ -58,7 +58,7 @@ func ExampleLinter_yourOwnRule() { // // testdata/examples/main.yaml:14:9: every step must have its name [step-name] // | - // 14 | - uses: actions/checkout@v3 + // 14 | - uses: actions/checkout@v4 // | ^~~~~ fmt.Println(len(errs), "lint errors found by actionlint") // Output: 1 lint errors found by actionlint diff --git a/popular_actions.go b/popular_actions.go index 4687f98bd..459d510f6 100644 --- a/popular_actions.go +++ b/popular_actions.go @@ -279,21 +279,6 @@ var PopularActions = map[string]*ActionMetadata{ "bundle-path": {"bundle-path"}, }, }, - "actions/cache@v3": { - Name: "Cache", - Inputs: ActionMetadataInputs{ - "enablecrossosarchive": {"enableCrossOsArchive", false}, - "fail-on-cache-miss": {"fail-on-cache-miss", false}, - "key": {"key", true}, - "lookup-only": {"lookup-only", false}, - "path": {"path", true}, - "restore-keys": {"restore-keys", false}, - "upload-chunk-size": {"upload-chunk-size", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - }, - }, "actions/cache@v4": { Name: "Cache", Inputs: ActionMetadataInputs{ @@ -323,28 +308,6 @@ var PopularActions = map[string]*ActionMetadata{ "token": {"token", false}, }, }, - "actions/checkout@v3": { - Name: "Checkout", - Inputs: ActionMetadataInputs{ - "clean": {"clean", false}, - "fetch-depth": {"fetch-depth", false}, - "fetch-tags": {"fetch-tags", false}, - "github-server-url": {"github-server-url", false}, - "lfs": {"lfs", false}, - "path": {"path", false}, - "persist-credentials": {"persist-credentials", false}, - "ref": {"ref", false}, - "repository": {"repository", false}, - "set-safe-directory": {"set-safe-directory", false}, - "sparse-checkout": {"sparse-checkout", false}, - "sparse-checkout-cone-mode": {"sparse-checkout-cone-mode", false}, - "ssh-key": {"ssh-key", false}, - "ssh-known-hosts": {"ssh-known-hosts", false}, - "ssh-strict": {"ssh-strict", false}, - "submodules": {"submodules", false}, - "token": {"token", false}, - }, - }, "actions/checkout@v4": { Name: "Checkout", Inputs: ActionMetadataInputs{ @@ -374,51 +337,6 @@ var PopularActions = map[string]*ActionMetadata{ "ref": {"ref"}, }, }, - "actions/configure-pages@v1": { - Name: "Configure GitHub Pages", - Inputs: ActionMetadataInputs{ - "enablement": {"enablement", false}, - "generator_config_file": {"generator_config_file", false}, - "static_site_generator": {"static_site_generator", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "base_path": {"base_path"}, - "base_url": {"base_url"}, - "host": {"host"}, - "origin": {"origin"}, - }, - }, - "actions/configure-pages@v2": { - Name: "Configure GitHub Pages", - Inputs: ActionMetadataInputs{ - "enablement": {"enablement", false}, - "generator_config_file": {"generator_config_file", false}, - "static_site_generator": {"static_site_generator", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "base_path": {"base_path"}, - "base_url": {"base_url"}, - "host": {"host"}, - "origin": {"origin"}, - }, - }, - "actions/configure-pages@v3": { - Name: "Configure GitHub Pages", - Inputs: ActionMetadataInputs{ - "enablement": {"enablement", false}, - "generator_config_file": {"generator_config_file", false}, - "static_site_generator": {"static_site_generator", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "base_path": {"base_path"}, - "base_url": {"base_url"}, - "host": {"host"}, - "origin": {"origin"}, - }, - }, "actions/configure-pages@v4": { Name: "Configure GitHub Pages", Inputs: ActionMetadataInputs{ @@ -449,35 +367,6 @@ var PopularActions = map[string]*ActionMetadata{ "origin": {"origin"}, }, }, - "actions/delete-package-versions@v3": { - Name: "Delete Package Versions", - Inputs: ActionMetadataInputs{ - "delete-only-pre-release-versions": {"delete-only-pre-release-versions", false}, - "ignore-versions": {"ignore-versions", false}, - "min-versions-to-keep": {"min-versions-to-keep", false}, - "num-old-versions-to-delete": {"num-old-versions-to-delete", false}, - "owner": {"owner", false}, - "package-name": {"package-name", false}, - "package-version-ids": {"package-version-ids", false}, - "repo": {"repo", false}, - "token": {"token", false}, - }, - }, - "actions/delete-package-versions@v4": { - Name: "Delete Package Versions", - Inputs: ActionMetadataInputs{ - "delete-only-pre-release-versions": {"delete-only-pre-release-versions", false}, - "delete-only-untagged-versions": {"delete-only-untagged-versions", false}, - "ignore-versions": {"ignore-versions", false}, - "min-versions-to-keep": {"min-versions-to-keep", false}, - "num-old-versions-to-delete": {"num-old-versions-to-delete", false}, - "owner": {"owner", false}, - "package-name": {"package-name", true}, - "package-type": {"package-type", true}, - "package-version-ids": {"package-version-ids", false}, - "token": {"token", false}, - }, - }, "actions/delete-package-versions@v5": { Name: "Delete Package Versions", Inputs: ActionMetadataInputs{ @@ -493,29 +382,6 @@ var PopularActions = map[string]*ActionMetadata{ "token": {"token", false}, }, }, - "actions/dependency-review-action@v3": { - Name: "Dependency Review", - Inputs: ActionMetadataInputs{ - "allow-dependencies-licenses": {"allow-dependencies-licenses", false}, - "allow-ghsas": {"allow-ghsas", false}, - "allow-licenses": {"allow-licenses", false}, - "base-ref": {"base-ref", false}, - "comment-summary-in-pr": {"comment-summary-in-pr", false}, - "config-file": {"config-file", false}, - "deny-groups": {"deny-groups", false}, - "deny-licenses": {"deny-licenses", false}, - "deny-packages": {"deny-packages", false}, - "external-repo-token": {"external-repo-token", false}, - "fail-on-scopes": {"fail-on-scopes", false}, - "fail-on-severity": {"fail-on-severity", false}, - "head-ref": {"head-ref", false}, - "license-check": {"license-check", false}, - "repo-token": {"repo-token", false}, - "retry-on-snapshot-warnings": {"retry-on-snapshot-warnings", false}, - "retry-on-snapshot-warnings-timeout": {"retry-on-snapshot-warnings-timeout", false}, - "vulnerability-check": {"vulnerability-check", false}, - }, - }, "actions/dependency-review-action@v4": { Name: "Dependency Review", Inputs: ActionMetadataInputs{ @@ -549,36 +415,6 @@ var PopularActions = map[string]*ActionMetadata{ "vulnerable-changes": {"vulnerable-changes"}, }, }, - "actions/deploy-pages@v1": { - Name: "Deploy GitHub Pages site", - Inputs: ActionMetadataInputs{ - "artifact_name": {"artifact_name", false}, - "conclusion": {"conclusion", false}, - "emit_telemetry": {"emit_telemetry", false}, - "error_count": {"error_count", false}, - "preview": {"preview", false}, - "reporting_interval": {"reporting_interval", false}, - "timeout": {"timeout", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "page_url": {"page_url"}, - }, - }, - "actions/deploy-pages@v2": { - Name: "Deploy GitHub Pages site", - Inputs: ActionMetadataInputs{ - "artifact_name": {"artifact_name", false}, - "error_count": {"error_count", false}, - "preview": {"preview", false}, - "reporting_interval": {"reporting_interval", false}, - "timeout": {"timeout", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "page_url": {"page_url"}, - }, - }, "actions/deploy-pages@v3": { Name: "Deploy GitHub Pages site", Inputs: ActionMetadataInputs{ @@ -614,16 +450,6 @@ var PopularActions = map[string]*ActionMetadata{ "path": {"path", false}, }, }, - "actions/download-artifact@v3": { - Name: "Download a Build Artifact", - Inputs: ActionMetadataInputs{ - "name": {"name", false}, - "path": {"path", false}, - }, - Outputs: ActionMetadataOutputs{ - "download-path": {"download-path"}, - }, - }, "actions/download-artifact@v4": { Name: "Download a Build Artifact", Inputs: ActionMetadataInputs{ @@ -647,22 +473,6 @@ var PopularActions = map[string]*ActionMetadata{ "repo-token": {"repo-token", true}, }, }, - "actions/github-script@v6": { - Name: "GitHub Script", - Inputs: ActionMetadataInputs{ - "debug": {"debug", false}, - "github-token": {"github-token", false}, - "previews": {"previews", false}, - "result-encoding": {"result-encoding", false}, - "retries": {"retries", false}, - "retry-exempt-status-codes": {"retry-exempt-status-codes", false}, - "script": {"script", true}, - "user-agent": {"user-agent", false}, - }, - Outputs: ActionMetadataOutputs{ - "result": {"result"}, - }, - }, "actions/github-script@v7": { Name: "GitHub Script", Inputs: ActionMetadataInputs{ @@ -680,20 +490,6 @@ var PopularActions = map[string]*ActionMetadata{ "result": {"result"}, }, }, - "actions/labeler@v4": { - Name: "Labeler", - Inputs: ActionMetadataInputs{ - "configuration-path": {"configuration-path", false}, - "dot": {"dot", false}, - "pr-number": {"pr-number", false}, - "repo-token": {"repo-token", false}, - "sync-labels": {"sync-labels", false}, - }, - Outputs: ActionMetadataOutputs{ - "all-labels": {"all-labels"}, - "new-labels": {"new-labels"}, - }, - }, "actions/labeler@v5": { Name: "Labeler", Inputs: ActionMetadataInputs{ @@ -708,34 +504,6 @@ var PopularActions = map[string]*ActionMetadata{ "new-labels": {"new-labels"}, }, }, - "actions/setup-dotnet@v2": { - Name: "Setup .NET Core SDK", - Inputs: ActionMetadataInputs{ - "config-file": {"config-file", false}, - "dotnet-version": {"dotnet-version", false}, - "global-json-file": {"global-json-file", false}, - "include-prerelease": {"include-prerelease", false}, - "owner": {"owner", false}, - "source-url": {"source-url", false}, - }, - }, - "actions/setup-dotnet@v3": { - Name: "Setup .NET Core SDK", - Inputs: ActionMetadataInputs{ - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "config-file": {"config-file", false}, - "dotnet-quality": {"dotnet-quality", false}, - "dotnet-version": {"dotnet-version", false}, - "global-json-file": {"global-json-file", false}, - "owner": {"owner", false}, - "source-url": {"source-url", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "dotnet-version": {"dotnet-version"}, - }, - }, "actions/setup-dotnet@v4": { Name: "Setup .NET Core SDK", Inputs: ActionMetadataInputs{ @@ -753,38 +521,6 @@ var PopularActions = map[string]*ActionMetadata{ "dotnet-version": {"dotnet-version"}, }, }, - "actions/setup-go@v3": { - Name: "Setup Go environment", - Inputs: ActionMetadataInputs{ - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "check-latest": {"check-latest", false}, - "go-version": {"go-version", false}, - "go-version-file": {"go-version-file", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "go-version": {"go-version"}, - }, - }, - "actions/setup-go@v4": { - Name: "Setup Go environment", - Inputs: ActionMetadataInputs{ - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "check-latest": {"check-latest", false}, - "go-version": {"go-version", false}, - "go-version-file": {"go-version-file", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "go-version": {"go-version"}, - }, - }, "actions/setup-go@v5": { Name: "Setup Go environment", Inputs: ActionMetadataInputs{ @@ -801,36 +537,6 @@ var PopularActions = map[string]*ActionMetadata{ "go-version": {"go-version"}, }, }, - "actions/setup-java@v3": { - Name: "Setup Java JDK", - Inputs: ActionMetadataInputs{ - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "check-latest": {"check-latest", false}, - "distribution": {"distribution", true}, - "gpg-passphrase": {"gpg-passphrase", false}, - "gpg-private-key": {"gpg-private-key", false}, - "java-package": {"java-package", false}, - "java-version": {"java-version", false}, - "java-version-file": {"java-version-file", false}, - "jdkfile": {"jdkFile", false}, - "job-status": {"job-status", false}, - "mvn-toolchain-id": {"mvn-toolchain-id", false}, - "mvn-toolchain-vendor": {"mvn-toolchain-vendor", false}, - "overwrite-settings": {"overwrite-settings", false}, - "server-id": {"server-id", false}, - "server-password": {"server-password", false}, - "server-username": {"server-username", false}, - "settings-path": {"settings-path", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "distribution": {"distribution"}, - "path": {"path"}, - "version": {"version"}, - }, - }, "actions/setup-java@v4": { Name: "Setup Java JDK", Inputs: ActionMetadataInputs{ @@ -853,348 +559,51 @@ var PopularActions = map[string]*ActionMetadata{ "server-password": {"server-password", false}, "server-username": {"server-username", false}, "settings-path": {"settings-path", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "distribution": {"distribution"}, - "path": {"path"}, - "version": {"version"}, - }, - }, - "actions/setup-node@v3": { - Name: "Setup Node.js environment", - Inputs: ActionMetadataInputs{ - "always-auth": {"always-auth", false}, - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "check-latest": {"check-latest", false}, - "node-version": {"node-version", false}, - "node-version-file": {"node-version-file", false}, - "registry-url": {"registry-url", false}, - "scope": {"scope", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "node-version": {"node-version"}, - }, - }, - "actions/setup-node@v4": { - Name: "Setup Node.js environment", - Inputs: ActionMetadataInputs{ - "always-auth": {"always-auth", false}, - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "check-latest": {"check-latest", false}, - "node-version": {"node-version", false}, - "node-version-file": {"node-version-file", false}, - "registry-url": {"registry-url", false}, - "scope": {"scope", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "node-version": {"node-version"}, - }, - }, - "actions/setup-python@v3": { - Name: "Setup Python", - Inputs: ActionMetadataInputs{ - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "python-version": {"python-version", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "python-version": {"python-version"}, - }, - }, - "actions/setup-python@v4": { - Name: "Setup Python", - Inputs: ActionMetadataInputs{ - "allow-prereleases": {"allow-prereleases", false}, - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "check-latest": {"check-latest", false}, - "python-version": {"python-version", false}, - "python-version-file": {"python-version-file", false}, - "token": {"token", false}, - "update-environment": {"update-environment", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "python-path": {"python-path"}, - "python-version": {"python-version"}, - }, - }, - "actions/setup-python@v5": { - Name: "Setup Python", - Inputs: ActionMetadataInputs{ - "allow-prereleases": {"allow-prereleases", false}, - "architecture": {"architecture", false}, - "cache": {"cache", false}, - "cache-dependency-path": {"cache-dependency-path", false}, - "check-latest": {"check-latest", false}, - "python-version": {"python-version", false}, - "python-version-file": {"python-version-file", false}, - "token": {"token", false}, - "update-environment": {"update-environment", false}, - }, - Outputs: ActionMetadataOutputs{ - "cache-hit": {"cache-hit"}, - "python-path": {"python-path"}, - "python-version": {"python-version"}, - }, - }, - "actions/stale@v5": { - Name: "Close Stale Issues", - Inputs: ActionMetadataInputs{ - "any-of-issue-labels": {"any-of-issue-labels", false}, - "any-of-labels": {"any-of-labels", false}, - "any-of-pr-labels": {"any-of-pr-labels", false}, - "ascending": {"ascending", false}, - "close-issue-label": {"close-issue-label", false}, - "close-issue-message": {"close-issue-message", false}, - "close-issue-reason": {"close-issue-reason", false}, - "close-pr-label": {"close-pr-label", false}, - "close-pr-message": {"close-pr-message", false}, - "days-before-close": {"days-before-close", false}, - "days-before-issue-close": {"days-before-issue-close", false}, - "days-before-issue-stale": {"days-before-issue-stale", false}, - "days-before-pr-close": {"days-before-pr-close", false}, - "days-before-pr-stale": {"days-before-pr-stale", false}, - "days-before-stale": {"days-before-stale", false}, - "debug-only": {"debug-only", false}, - "delete-branch": {"delete-branch", false}, - "enable-statistics": {"enable-statistics", false}, - "exempt-all-assignees": {"exempt-all-assignees", false}, - "exempt-all-issue-assignees": {"exempt-all-issue-assignees", false}, - "exempt-all-issue-milestones": {"exempt-all-issue-milestones", false}, - "exempt-all-milestones": {"exempt-all-milestones", false}, - "exempt-all-pr-assignees": {"exempt-all-pr-assignees", false}, - "exempt-all-pr-milestones": {"exempt-all-pr-milestones", false}, - "exempt-assignees": {"exempt-assignees", false}, - "exempt-draft-pr": {"exempt-draft-pr", false}, - "exempt-issue-assignees": {"exempt-issue-assignees", false}, - "exempt-issue-labels": {"exempt-issue-labels", false}, - "exempt-issue-milestones": {"exempt-issue-milestones", false}, - "exempt-milestones": {"exempt-milestones", false}, - "exempt-pr-assignees": {"exempt-pr-assignees", false}, - "exempt-pr-labels": {"exempt-pr-labels", false}, - "exempt-pr-milestones": {"exempt-pr-milestones", false}, - "ignore-issue-updates": {"ignore-issue-updates", false}, - "ignore-pr-updates": {"ignore-pr-updates", false}, - "ignore-updates": {"ignore-updates", false}, - "include-only-assigned": {"include-only-assigned", false}, - "labels-to-add-when-unstale": {"labels-to-add-when-unstale", false}, - "labels-to-remove-when-unstale": {"labels-to-remove-when-unstale", false}, - "only-issue-labels": {"only-issue-labels", false}, - "only-labels": {"only-labels", false}, - "only-pr-labels": {"only-pr-labels", false}, - "operations-per-run": {"operations-per-run", false}, - "remove-issue-stale-when-updated": {"remove-issue-stale-when-updated", false}, - "remove-pr-stale-when-updated": {"remove-pr-stale-when-updated", false}, - "remove-stale-when-updated": {"remove-stale-when-updated", false}, - "repo-token": {"repo-token", false}, - "stale-issue-label": {"stale-issue-label", false}, - "stale-issue-message": {"stale-issue-message", false}, - "stale-pr-label": {"stale-pr-label", false}, - "stale-pr-message": {"stale-pr-message", false}, - "start-date": {"start-date", false}, - }, - Outputs: ActionMetadataOutputs{ - "closed-issues-prs": {"closed-issues-prs"}, - "staled-issues-prs": {"staled-issues-prs"}, - }, - }, - "actions/stale@v6": { - Name: "Close Stale Issues", - Inputs: ActionMetadataInputs{ - "any-of-issue-labels": {"any-of-issue-labels", false}, - "any-of-labels": {"any-of-labels", false}, - "any-of-pr-labels": {"any-of-pr-labels", false}, - "ascending": {"ascending", false}, - "close-issue-label": {"close-issue-label", false}, - "close-issue-message": {"close-issue-message", false}, - "close-issue-reason": {"close-issue-reason", false}, - "close-pr-label": {"close-pr-label", false}, - "close-pr-message": {"close-pr-message", false}, - "days-before-close": {"days-before-close", false}, - "days-before-issue-close": {"days-before-issue-close", false}, - "days-before-issue-stale": {"days-before-issue-stale", false}, - "days-before-pr-close": {"days-before-pr-close", false}, - "days-before-pr-stale": {"days-before-pr-stale", false}, - "days-before-stale": {"days-before-stale", false}, - "debug-only": {"debug-only", false}, - "delete-branch": {"delete-branch", false}, - "enable-statistics": {"enable-statistics", false}, - "exempt-all-assignees": {"exempt-all-assignees", false}, - "exempt-all-issue-assignees": {"exempt-all-issue-assignees", false}, - "exempt-all-issue-milestones": {"exempt-all-issue-milestones", false}, - "exempt-all-milestones": {"exempt-all-milestones", false}, - "exempt-all-pr-assignees": {"exempt-all-pr-assignees", false}, - "exempt-all-pr-milestones": {"exempt-all-pr-milestones", false}, - "exempt-assignees": {"exempt-assignees", false}, - "exempt-draft-pr": {"exempt-draft-pr", false}, - "exempt-issue-assignees": {"exempt-issue-assignees", false}, - "exempt-issue-labels": {"exempt-issue-labels", false}, - "exempt-issue-milestones": {"exempt-issue-milestones", false}, - "exempt-milestones": {"exempt-milestones", false}, - "exempt-pr-assignees": {"exempt-pr-assignees", false}, - "exempt-pr-labels": {"exempt-pr-labels", false}, - "exempt-pr-milestones": {"exempt-pr-milestones", false}, - "ignore-issue-updates": {"ignore-issue-updates", false}, - "ignore-pr-updates": {"ignore-pr-updates", false}, - "ignore-updates": {"ignore-updates", false}, - "include-only-assigned": {"include-only-assigned", false}, - "labels-to-add-when-unstale": {"labels-to-add-when-unstale", false}, - "labels-to-remove-when-unstale": {"labels-to-remove-when-unstale", false}, - "only-issue-labels": {"only-issue-labels", false}, - "only-labels": {"only-labels", false}, - "only-pr-labels": {"only-pr-labels", false}, - "operations-per-run": {"operations-per-run", false}, - "remove-issue-stale-when-updated": {"remove-issue-stale-when-updated", false}, - "remove-pr-stale-when-updated": {"remove-pr-stale-when-updated", false}, - "remove-stale-when-updated": {"remove-stale-when-updated", false}, - "repo-token": {"repo-token", false}, - "stale-issue-label": {"stale-issue-label", false}, - "stale-issue-message": {"stale-issue-message", false}, - "stale-pr-label": {"stale-pr-label", false}, - "stale-pr-message": {"stale-pr-message", false}, - "start-date": {"start-date", false}, - }, - Outputs: ActionMetadataOutputs{ - "closed-issues-prs": {"closed-issues-prs"}, - "staled-issues-prs": {"staled-issues-prs"}, - }, - }, - "actions/stale@v7": { - Name: "Close Stale Issues", - Inputs: ActionMetadataInputs{ - "any-of-issue-labels": {"any-of-issue-labels", false}, - "any-of-labels": {"any-of-labels", false}, - "any-of-pr-labels": {"any-of-pr-labels", false}, - "ascending": {"ascending", false}, - "close-issue-label": {"close-issue-label", false}, - "close-issue-message": {"close-issue-message", false}, - "close-issue-reason": {"close-issue-reason", false}, - "close-pr-label": {"close-pr-label", false}, - "close-pr-message": {"close-pr-message", false}, - "days-before-close": {"days-before-close", false}, - "days-before-issue-close": {"days-before-issue-close", false}, - "days-before-issue-stale": {"days-before-issue-stale", false}, - "days-before-pr-close": {"days-before-pr-close", false}, - "days-before-pr-stale": {"days-before-pr-stale", false}, - "days-before-stale": {"days-before-stale", false}, - "debug-only": {"debug-only", false}, - "delete-branch": {"delete-branch", false}, - "enable-statistics": {"enable-statistics", false}, - "exempt-all-assignees": {"exempt-all-assignees", false}, - "exempt-all-issue-assignees": {"exempt-all-issue-assignees", false}, - "exempt-all-issue-milestones": {"exempt-all-issue-milestones", false}, - "exempt-all-milestones": {"exempt-all-milestones", false}, - "exempt-all-pr-assignees": {"exempt-all-pr-assignees", false}, - "exempt-all-pr-milestones": {"exempt-all-pr-milestones", false}, - "exempt-assignees": {"exempt-assignees", false}, - "exempt-draft-pr": {"exempt-draft-pr", false}, - "exempt-issue-assignees": {"exempt-issue-assignees", false}, - "exempt-issue-labels": {"exempt-issue-labels", false}, - "exempt-issue-milestones": {"exempt-issue-milestones", false}, - "exempt-milestones": {"exempt-milestones", false}, - "exempt-pr-assignees": {"exempt-pr-assignees", false}, - "exempt-pr-labels": {"exempt-pr-labels", false}, - "exempt-pr-milestones": {"exempt-pr-milestones", false}, - "ignore-issue-updates": {"ignore-issue-updates", false}, - "ignore-pr-updates": {"ignore-pr-updates", false}, - "ignore-updates": {"ignore-updates", false}, - "include-only-assigned": {"include-only-assigned", false}, - "labels-to-add-when-unstale": {"labels-to-add-when-unstale", false}, - "labels-to-remove-when-unstale": {"labels-to-remove-when-unstale", false}, - "only-issue-labels": {"only-issue-labels", false}, - "only-labels": {"only-labels", false}, - "only-pr-labels": {"only-pr-labels", false}, - "operations-per-run": {"operations-per-run", false}, - "remove-issue-stale-when-updated": {"remove-issue-stale-when-updated", false}, - "remove-pr-stale-when-updated": {"remove-pr-stale-when-updated", false}, - "remove-stale-when-updated": {"remove-stale-when-updated", false}, - "repo-token": {"repo-token", false}, - "stale-issue-label": {"stale-issue-label", false}, - "stale-issue-message": {"stale-issue-message", false}, - "stale-pr-label": {"stale-pr-label", false}, - "stale-pr-message": {"stale-pr-message", false}, - "start-date": {"start-date", false}, - }, - Outputs: ActionMetadataOutputs{ - "closed-issues-prs": {"closed-issues-prs"}, - "staled-issues-prs": {"staled-issues-prs"}, - }, - }, - "actions/stale@v8": { - Name: "Close Stale Issues", - Inputs: ActionMetadataInputs{ - "any-of-issue-labels": {"any-of-issue-labels", false}, - "any-of-labels": {"any-of-labels", false}, - "any-of-pr-labels": {"any-of-pr-labels", false}, - "ascending": {"ascending", false}, - "close-issue-label": {"close-issue-label", false}, - "close-issue-message": {"close-issue-message", false}, - "close-issue-reason": {"close-issue-reason", false}, - "close-pr-label": {"close-pr-label", false}, - "close-pr-message": {"close-pr-message", false}, - "days-before-close": {"days-before-close", false}, - "days-before-issue-close": {"days-before-issue-close", false}, - "days-before-issue-stale": {"days-before-issue-stale", false}, - "days-before-pr-close": {"days-before-pr-close", false}, - "days-before-pr-stale": {"days-before-pr-stale", false}, - "days-before-stale": {"days-before-stale", false}, - "debug-only": {"debug-only", false}, - "delete-branch": {"delete-branch", false}, - "enable-statistics": {"enable-statistics", false}, - "exempt-all-assignees": {"exempt-all-assignees", false}, - "exempt-all-issue-assignees": {"exempt-all-issue-assignees", false}, - "exempt-all-issue-milestones": {"exempt-all-issue-milestones", false}, - "exempt-all-milestones": {"exempt-all-milestones", false}, - "exempt-all-pr-assignees": {"exempt-all-pr-assignees", false}, - "exempt-all-pr-milestones": {"exempt-all-pr-milestones", false}, - "exempt-assignees": {"exempt-assignees", false}, - "exempt-draft-pr": {"exempt-draft-pr", false}, - "exempt-issue-assignees": {"exempt-issue-assignees", false}, - "exempt-issue-labels": {"exempt-issue-labels", false}, - "exempt-issue-milestones": {"exempt-issue-milestones", false}, - "exempt-milestones": {"exempt-milestones", false}, - "exempt-pr-assignees": {"exempt-pr-assignees", false}, - "exempt-pr-labels": {"exempt-pr-labels", false}, - "exempt-pr-milestones": {"exempt-pr-milestones", false}, - "ignore-issue-updates": {"ignore-issue-updates", false}, - "ignore-pr-updates": {"ignore-pr-updates", false}, - "ignore-updates": {"ignore-updates", false}, - "include-only-assigned": {"include-only-assigned", false}, - "labels-to-add-when-unstale": {"labels-to-add-when-unstale", false}, - "labels-to-remove-when-stale": {"labels-to-remove-when-stale", false}, - "labels-to-remove-when-unstale": {"labels-to-remove-when-unstale", false}, - "only-issue-labels": {"only-issue-labels", false}, - "only-labels": {"only-labels", false}, - "only-pr-labels": {"only-pr-labels", false}, - "operations-per-run": {"operations-per-run", false}, - "remove-issue-stale-when-updated": {"remove-issue-stale-when-updated", false}, - "remove-pr-stale-when-updated": {"remove-pr-stale-when-updated", false}, - "remove-stale-when-updated": {"remove-stale-when-updated", false}, - "repo-token": {"repo-token", false}, - "stale-issue-label": {"stale-issue-label", false}, - "stale-issue-message": {"stale-issue-message", false}, - "stale-pr-label": {"stale-pr-label", false}, - "stale-pr-message": {"stale-pr-message", false}, - "start-date": {"start-date", false}, + "token": {"token", false}, }, Outputs: ActionMetadataOutputs{ - "closed-issues-prs": {"closed-issues-prs"}, - "staled-issues-prs": {"staled-issues-prs"}, + "cache-hit": {"cache-hit"}, + "distribution": {"distribution"}, + "path": {"path"}, + "version": {"version"}, + }, + }, + "actions/setup-node@v4": { + Name: "Setup Node.js environment", + Inputs: ActionMetadataInputs{ + "always-auth": {"always-auth", false}, + "architecture": {"architecture", false}, + "cache": {"cache", false}, + "cache-dependency-path": {"cache-dependency-path", false}, + "check-latest": {"check-latest", false}, + "node-version": {"node-version", false}, + "node-version-file": {"node-version-file", false}, + "registry-url": {"registry-url", false}, + "scope": {"scope", false}, + "token": {"token", false}, + }, + Outputs: ActionMetadataOutputs{ + "cache-hit": {"cache-hit"}, + "node-version": {"node-version"}, + }, + }, + "actions/setup-python@v5": { + Name: "Setup Python", + Inputs: ActionMetadataInputs{ + "allow-prereleases": {"allow-prereleases", false}, + "architecture": {"architecture", false}, + "cache": {"cache", false}, + "cache-dependency-path": {"cache-dependency-path", false}, + "check-latest": {"check-latest", false}, + "python-version": {"python-version", false}, + "python-version-file": {"python-version-file", false}, + "token": {"token", false}, + "update-environment": {"update-environment", false}, + }, + Outputs: ActionMetadataOutputs{ + "cache-hit": {"cache-hit"}, + "python-path": {"python-path"}, + "python-version": {"python-version"}, }, }, "actions/stale@v9": { @@ -1266,16 +675,6 @@ var PopularActions = map[string]*ActionMetadata{ "path": {"path", true}, }, }, - "actions/upload-artifact@v3": { - Name: "Upload a Build Artifact", - Inputs: ActionMetadataInputs{ - "if-no-files-found": {"if-no-files-found", false}, - "include-hidden-files": {"include-hidden-files", false}, - "name": {"name", false}, - "path": {"path", true}, - "retention-days": {"retention-days", false}, - }, - }, "actions/upload-artifact@v4": { Name: "Upload a Build Artifact", Inputs: ActionMetadataInputs{ @@ -1319,62 +718,6 @@ var PopularActions = map[string]*ActionMetadata{ "artifact_id": {"artifact_id"}, }, }, - "aws-actions/configure-aws-credentials@v2": { - Name: "Configure AWS Credentials For GitHub Actions", - Inputs: ActionMetadataInputs{ - "audience": {"audience", false}, - "aws-access-key-id": {"aws-access-key-id", false}, - "aws-region": {"aws-region", true}, - "aws-secret-access-key": {"aws-secret-access-key", false}, - "aws-session-token": {"aws-session-token", false}, - "http-proxy": {"http-proxy", false}, - "inline-session-policy": {"inline-session-policy", false}, - "managed-session-policies": {"managed-session-policies", false}, - "mask-aws-account-id": {"mask-aws-account-id", false}, - "role-chaining": {"role-chaining", false}, - "role-duration-seconds": {"role-duration-seconds", false}, - "role-external-id": {"role-external-id", false}, - "role-session-name": {"role-session-name", false}, - "role-skip-session-tagging": {"role-skip-session-tagging", false}, - "role-to-assume": {"role-to-assume", false}, - "web-identity-token-file": {"web-identity-token-file", false}, - }, - Outputs: ActionMetadataOutputs{ - "aws-account-id": {"aws-account-id"}, - }, - }, - "aws-actions/configure-aws-credentials@v3": { - Name: "\"Configure AWS Credentials\" Action for GitHub Actions", - Inputs: ActionMetadataInputs{ - "audience": {"audience", false}, - "aws-access-key-id": {"aws-access-key-id", false}, - "aws-region": {"aws-region", true}, - "aws-secret-access-key": {"aws-secret-access-key", false}, - "aws-session-token": {"aws-session-token", false}, - "disable-retry": {"disable-retry", false}, - "http-proxy": {"http-proxy", false}, - "inline-session-policy": {"inline-session-policy", false}, - "managed-session-policies": {"managed-session-policies", false}, - "mask-aws-account-id": {"mask-aws-account-id", false}, - "output-credentials": {"output-credentials", false}, - "retry-max-attempts": {"retry-max-attempts", false}, - "role-chaining": {"role-chaining", false}, - "role-duration-seconds": {"role-duration-seconds", false}, - "role-external-id": {"role-external-id", false}, - "role-session-name": {"role-session-name", false}, - "role-skip-session-tagging": {"role-skip-session-tagging", false}, - "role-to-assume": {"role-to-assume", false}, - "special-characters-workaround": {"special-characters-workaround", false}, - "unset-current-credentials": {"unset-current-credentials", false}, - "web-identity-token-file": {"web-identity-token-file", false}, - }, - Outputs: ActionMetadataOutputs{ - "aws-access-key-id": {"aws-access-key-id"}, - "aws-account-id": {"aws-account-id"}, - "aws-secret-access-key": {"aws-secret-access-key"}, - "aws-session-token": {"aws-session-token"}, - }, - }, "aws-actions/configure-aws-credentials@v4": { Name: "\"Configure AWS Credentials\" Action for GitHub Actions", Inputs: ActionMetadataInputs{ @@ -1407,16 +750,6 @@ var PopularActions = map[string]*ActionMetadata{ "aws-session-token": {"aws-session-token"}, }, }, - "azure/aks-set-context@v3": { - Name: "Azure Kubernetes set context", - Inputs: ActionMetadataInputs{ - "admin": {"admin", false}, - "cluster-name": {"cluster-name", true}, - "resource-group": {"resource-group", true}, - "subscription": {"subscription", false}, - "use-kubelogin": {"use-kubelogin", false}, - }, - }, "azure/aks-set-context@v4": { Name: "Azure Kubernetes set context", Inputs: ActionMetadataInputs{ @@ -1428,20 +761,6 @@ var PopularActions = map[string]*ActionMetadata{ "use-kubelogin": {"use-kubelogin", false}, }, }, - "azure/login@v1": { - Name: "Azure Login", - Inputs: ActionMetadataInputs{ - "allow-no-subscriptions": {"allow-no-subscriptions", false}, - "audience": {"audience", false}, - "auth-type": {"auth-type", false}, - "client-id": {"client-id", false}, - "creds": {"creds", false}, - "enable-azpssession": {"enable-AzPSSession", false}, - "environment": {"environment", false}, - "subscription-id": {"subscription-id", false}, - "tenant-id": {"tenant-id", false}, - }, - }, "azure/login@v2": { Name: "Azure Login", Inputs: ActionMetadataInputs{ @@ -1466,49 +785,6 @@ var PopularActions = map[string]*ActionMetadata{ "working-directory": {"working-directory", false}, }, }, - "codecov/codecov-action@v3": { - Name: "Codecov", - Inputs: ActionMetadataInputs{ - "commit_parent": {"commit_parent", false}, - "directory": {"directory", false}, - "dry_run": {"dry_run", false}, - "env_vars": {"env_vars", false}, - "fail_ci_if_error": {"fail_ci_if_error", false}, - "file": {"file", false}, - "files": {"files", false}, - "flags": {"flags", false}, - "full_report": {"full_report", false}, - "functionalities": {"functionalities", false}, - "gcov": {"gcov", false}, - "gcov_args": {"gcov_args", false}, - "gcov_executable": {"gcov_executable", false}, - "gcov_ignore": {"gcov_ignore", false}, - "gcov_include": {"gcov_include", false}, - "move_coverage_to_trash": {"move_coverage_to_trash", false}, - "name": {"name", false}, - "network_filter": {"network_filter", false}, - "network_prefix": {"network_prefix", false}, - "os": {"os", false}, - "override_branch": {"override_branch", false}, - "override_build": {"override_build", false}, - "override_commit": {"override_commit", false}, - "override_pr": {"override_pr", false}, - "override_tag": {"override_tag", false}, - "root_dir": {"root_dir", false}, - "slug": {"slug", false}, - "swift": {"swift", false}, - "swift_project": {"swift_project", false}, - "token": {"token", false}, - "upstream_proxy": {"upstream_proxy", false}, - "url": {"url", false}, - "verbose": {"verbose", false}, - "version": {"version", false}, - "working-directory": {"working-directory", false}, - "xcode": {"xcode", false}, - "xcode_archive_path": {"xcode_archive_path", false}, - "xtra_args": {"xtra_args", false}, - }, - }, "codecov/codecov-action@v4": { Name: "Codecov", Inputs: ActionMetadataInputs{ @@ -1551,36 +827,6 @@ var PopularActions = map[string]*ActionMetadata{ "working-directory": {"working-directory", false}, }, }, - "dawidd6/action-download-artifact@v2": { - Name: "Download workflow artifact", - Inputs: ActionMetadataInputs{ - "allow_forks": {"allow_forks", false}, - "branch": {"branch", false}, - "check_artifacts": {"check_artifacts", false}, - "commit": {"commit", false}, - "dry_run": {"dry_run", false}, - "event": {"event", false}, - "github_token": {"github_token", false}, - "if_no_artifact_found": {"if_no_artifact_found", false}, - "name": {"name", false}, - "name_is_regexp": {"name_is_regexp", false}, - "path": {"path", false}, - "pr": {"pr", false}, - "repo": {"repo", false}, - "run_id": {"run_id", false}, - "run_number": {"run_number", false}, - "search_artifacts": {"search_artifacts", false}, - "skip_unpack": {"skip_unpack", false}, - "workflow": {"workflow", false}, - "workflow_conclusion": {"workflow_conclusion", false}, - }, - Outputs: ActionMetadataOutputs{ - "artifacts": {"artifacts"}, - "dry_run": {"dry_run"}, - "error_message": {"error_message"}, - "found_artifact": {"found_artifact"}, - }, - }, "dawidd6/action-download-artifact@v3": { Name: "Download workflow artifact", Inputs: ActionMetadataInputs{ @@ -1714,46 +960,6 @@ var PopularActions = map[string]*ActionMetadata{ "username": {"username", false}, }, }, - "dessant/lock-threads@v4": { - Name: "Lock Threads", - Inputs: ActionMetadataInputs{ - "add-issue-labels": {"add-issue-labels", false}, - "add-pr-labels": {"add-pr-labels", false}, - "exclude-any-issue-labels": {"exclude-any-issue-labels", false}, - "exclude-any-pr-labels": {"exclude-any-pr-labels", false}, - "exclude-issue-closed-after": {"exclude-issue-closed-after", false}, - "exclude-issue-closed-before": {"exclude-issue-closed-before", false}, - "exclude-issue-closed-between": {"exclude-issue-closed-between", false}, - "exclude-issue-created-after": {"exclude-issue-created-after", false}, - "exclude-issue-created-before": {"exclude-issue-created-before", false}, - "exclude-issue-created-between": {"exclude-issue-created-between", false}, - "exclude-pr-closed-after": {"exclude-pr-closed-after", false}, - "exclude-pr-closed-before": {"exclude-pr-closed-before", false}, - "exclude-pr-closed-between": {"exclude-pr-closed-between", false}, - "exclude-pr-created-after": {"exclude-pr-created-after", false}, - "exclude-pr-created-before": {"exclude-pr-created-before", false}, - "exclude-pr-created-between": {"exclude-pr-created-between", false}, - "github-token": {"github-token", false}, - "include-all-issue-labels": {"include-all-issue-labels", false}, - "include-all-pr-labels": {"include-all-pr-labels", false}, - "include-any-issue-labels": {"include-any-issue-labels", false}, - "include-any-pr-labels": {"include-any-pr-labels", false}, - "issue-comment": {"issue-comment", false}, - "issue-inactive-days": {"issue-inactive-days", false}, - "issue-lock-reason": {"issue-lock-reason", false}, - "log-output": {"log-output", false}, - "pr-comment": {"pr-comment", false}, - "pr-inactive-days": {"pr-inactive-days", false}, - "pr-lock-reason": {"pr-lock-reason", false}, - "process-only": {"process-only", false}, - "remove-issue-labels": {"remove-issue-labels", false}, - "remove-pr-labels": {"remove-pr-labels", false}, - }, - Outputs: ActionMetadataOutputs{ - "issues": {"issues"}, - "prs": {"prs"}, - }, - }, "dessant/lock-threads@v5": { Name: "Lock Threads", Inputs: ActionMetadataInputs{ @@ -1795,118 +1001,38 @@ var PopularActions = map[string]*ActionMetadata{ "issue-lock-reason": {"issue-lock-reason", false}, "log-output": {"log-output", false}, "pr-comment": {"pr-comment", false}, - "pr-inactive-days": {"pr-inactive-days", false}, - "pr-lock-reason": {"pr-lock-reason", false}, - "process-only": {"process-only", false}, - "remove-discussion-labels": {"remove-discussion-labels", false}, - "remove-issue-labels": {"remove-issue-labels", false}, - "remove-pr-labels": {"remove-pr-labels", false}, - }, - Outputs: ActionMetadataOutputs{ - "discussions": {"discussions"}, - "issues": {"issues"}, - "prs": {"prs"}, - }, - }, - "docker/build-push-action@v1": { - Name: "Build and push Docker images", - Inputs: ActionMetadataInputs{ - "add_git_labels": {"add_git_labels", false}, - "always_pull": {"always_pull", false}, - "build_args": {"build_args", false}, - "cache_froms": {"cache_froms", false}, - "dockerfile": {"dockerfile", false}, - "labels": {"labels", false}, - "password": {"password", false}, - "path": {"path", false}, - "push": {"push", false}, - "registry": {"registry", false}, - "repository": {"repository", true}, - "tag_with_ref": {"tag_with_ref", false}, - "tag_with_sha": {"tag_with_sha", false}, - "tags": {"tags", false}, - "target": {"target", false}, - "username": {"username", false}, - }, - }, - "docker/build-push-action@v3": { - Name: "Build and push Docker images", - Inputs: ActionMetadataInputs{ - "add-hosts": {"add-hosts", false}, - "allow": {"allow", false}, - "attests": {"attests", false}, - "build-args": {"build-args", false}, - "build-contexts": {"build-contexts", false}, - "builder": {"builder", false}, - "cache-from": {"cache-from", false}, - "cache-to": {"cache-to", false}, - "cgroup-parent": {"cgroup-parent", false}, - "context": {"context", false}, - "file": {"file", false}, - "github-token": {"github-token", false}, - "labels": {"labels", false}, - "load": {"load", false}, - "network": {"network", false}, - "no-cache": {"no-cache", false}, - "no-cache-filters": {"no-cache-filters", false}, - "outputs": {"outputs", false}, - "platforms": {"platforms", false}, - "provenance": {"provenance", false}, - "pull": {"pull", false}, - "push": {"push", false}, - "sbom": {"sbom", false}, - "secret-files": {"secret-files", false}, - "secrets": {"secrets", false}, - "shm-size": {"shm-size", false}, - "ssh": {"ssh", false}, - "tags": {"tags", false}, - "target": {"target", false}, - "ulimit": {"ulimit", false}, - }, - Outputs: ActionMetadataOutputs{ - "digest": {"digest"}, - "imageid": {"imageid"}, - "metadata": {"metadata"}, - }, - }, - "docker/build-push-action@v4": { - Name: "Build and push Docker images", - Inputs: ActionMetadataInputs{ - "add-hosts": {"add-hosts", false}, - "allow": {"allow", false}, - "attests": {"attests", false}, - "build-args": {"build-args", false}, - "build-contexts": {"build-contexts", false}, - "builder": {"builder", false}, - "cache-from": {"cache-from", false}, - "cache-to": {"cache-to", false}, - "cgroup-parent": {"cgroup-parent", false}, - "context": {"context", false}, - "file": {"file", false}, - "github-token": {"github-token", false}, - "labels": {"labels", false}, - "load": {"load", false}, - "network": {"network", false}, - "no-cache": {"no-cache", false}, - "no-cache-filters": {"no-cache-filters", false}, - "outputs": {"outputs", false}, - "platforms": {"platforms", false}, - "provenance": {"provenance", false}, - "pull": {"pull", false}, - "push": {"push", false}, - "sbom": {"sbom", false}, - "secret-files": {"secret-files", false}, - "secrets": {"secrets", false}, - "shm-size": {"shm-size", false}, - "ssh": {"ssh", false}, - "tags": {"tags", false}, - "target": {"target", false}, - "ulimit": {"ulimit", false}, + "pr-inactive-days": {"pr-inactive-days", false}, + "pr-lock-reason": {"pr-lock-reason", false}, + "process-only": {"process-only", false}, + "remove-discussion-labels": {"remove-discussion-labels", false}, + "remove-issue-labels": {"remove-issue-labels", false}, + "remove-pr-labels": {"remove-pr-labels", false}, }, Outputs: ActionMetadataOutputs{ - "digest": {"digest"}, - "imageid": {"imageid"}, - "metadata": {"metadata"}, + "discussions": {"discussions"}, + "issues": {"issues"}, + "prs": {"prs"}, + }, + }, + "docker/build-push-action@v1": { + Name: "Build and push Docker images", + Inputs: ActionMetadataInputs{ + "add_git_labels": {"add_git_labels", false}, + "always_pull": {"always_pull", false}, + "build_args": {"build_args", false}, + "cache_froms": {"cache_froms", false}, + "dockerfile": {"dockerfile", false}, + "labels": {"labels", false}, + "password": {"password", false}, + "path": {"path", false}, + "push": {"push", false}, + "registry": {"registry", false}, + "repository": {"repository", true}, + "tag_with_ref": {"tag_with_ref", false}, + "tag_with_sha": {"tag_with_sha", false}, + "tags": {"tags", false}, + "target": {"target", false}, + "username": {"username", false}, }, }, "docker/build-push-action@v5": { @@ -1993,16 +1119,6 @@ var PopularActions = map[string]*ActionMetadata{ "metadata": {"metadata"}, }, }, - "docker/login-action@v2": { - Name: "Docker Login", - Inputs: ActionMetadataInputs{ - "ecr": {"ecr", false}, - "logout": {"logout", false}, - "password": {"password", false}, - "registry": {"registry", false}, - "username": {"username", false}, - }, - }, "docker/login-action@v3": { Name: "Docker Login", Inputs: ActionMetadataInputs{ @@ -2013,27 +1129,6 @@ var PopularActions = map[string]*ActionMetadata{ "username": {"username", false}, }, }, - "docker/metadata-action@v4": { - Name: "Docker Metadata action", - Inputs: ActionMetadataInputs{ - "bake-target": {"bake-target", false}, - "context": {"context", false}, - "flavor": {"flavor", false}, - "github-token": {"github-token", false}, - "images": {"images", true}, - "labels": {"labels", false}, - "sep-labels": {"sep-labels", false}, - "sep-tags": {"sep-tags", false}, - "tags": {"tags", false}, - }, - Outputs: ActionMetadataOutputs{ - "bake-file": {"bake-file"}, - "json": {"json"}, - "labels": {"labels"}, - "tags": {"tags"}, - "version": {"version"}, - }, - }, "docker/metadata-action@v5": { Name: "Docker Metadata action", Inputs: ActionMetadataInputs{ @@ -2061,32 +1156,6 @@ var PopularActions = map[string]*ActionMetadata{ "version": {"version"}, }, }, - "docker/setup-buildx-action@v2": { - Name: "Docker Setup Buildx", - Inputs: ActionMetadataInputs{ - "append": {"append", false}, - "buildkitd-flags": {"buildkitd-flags", false}, - "cleanup": {"cleanup", false}, - "config": {"config", false}, - "config-inline": {"config-inline", false}, - "driver": {"driver", false}, - "driver-opts": {"driver-opts", false}, - "endpoint": {"endpoint", false}, - "install": {"install", false}, - "platforms": {"platforms", false}, - "use": {"use", false}, - "version": {"version", false}, - }, - Outputs: ActionMetadataOutputs{ - "driver": {"driver"}, - "endpoint": {"endpoint"}, - "flags": {"flags"}, - "name": {"name"}, - "nodes": {"nodes"}, - "platforms": {"platforms"}, - "status": {"status"}, - }, - }, "docker/setup-buildx-action@v3": { Name: "Docker Setup Buildx", Inputs: ActionMetadataInputs{ @@ -2116,16 +1185,6 @@ var PopularActions = map[string]*ActionMetadata{ "status": {"status"}, }, }, - "docker/setup-qemu-action@v2": { - Name: "Docker Setup QEMU", - Inputs: ActionMetadataInputs{ - "image": {"image", false}, - "platforms": {"platforms", false}, - }, - Outputs: ActionMetadataOutputs{ - "platforms": {"platforms"}, - }, - }, "docker/setup-qemu-action@v3": { Name: "Docker Setup QEMU", Inputs: ActionMetadataInputs{ @@ -2136,19 +1195,6 @@ var PopularActions = map[string]*ActionMetadata{ "platforms": {"platforms"}, }, }, - "dorny/paths-filter@v2": { - Name: "Paths Changes Filter", - Inputs: ActionMetadataInputs{ - "base": {"base", false}, - "filters": {"filters", true}, - "initial-fetch-depth": {"initial-fetch-depth", false}, - "list-files": {"list-files", false}, - "ref": {"ref", false}, - "token": {"token", false}, - "working-directory": {"working-directory", false}, - }, - SkipOutputs: true, - }, "dorny/paths-filter@v3": { Name: "Paths Changes Filter", Inputs: ActionMetadataInputs{ @@ -2202,20 +1248,6 @@ var PopularActions = map[string]*ActionMetadata{ "name": {"name"}, }, }, - "enriikke/gatsby-gh-pages-action@v2": { - Name: "Gatsby Publish", - Inputs: ActionMetadataInputs{ - "access-token": {"access-token", false}, - "commit-message": {"commit-message", false}, - "deploy-branch": {"deploy-branch", false}, - "deploy-repo": {"deploy-repo", false}, - "gatsby-args": {"gatsby-args", false}, - "git-config-email": {"git-config-email", false}, - "git-config-name": {"git-config-name", false}, - "skip-publish": {"skip-publish", false}, - "working-dir": {"working-dir", false}, - }, - }, "erlef/setup-beam@v1": { Name: "setup-beam", Inputs: ActionMetadataInputs{ @@ -2239,113 +1271,6 @@ var PopularActions = map[string]*ActionMetadata{ "setup-beam-version": {"setup-beam-version"}, }, }, - "game-ci/unity-builder@v2": { - Name: "Unity - Builder", - Inputs: ActionMetadataInputs{ - "allowdirtybuild": {"allowDirtyBuild", false}, - "androidappbundle": {"androidAppBundle", false}, - "androidkeyaliasname": {"androidKeyaliasName", false}, - "androidkeyaliaspass": {"androidKeyaliasPass", false}, - "androidkeystorebase64": {"androidKeystoreBase64", false}, - "androidkeystorename": {"androidKeystoreName", false}, - "androidkeystorepass": {"androidKeystorePass", false}, - "androidtargetsdkversion": {"androidTargetSdkVersion", false}, - "androidversioncode": {"androidVersionCode", false}, - "awsbasestackname": {"awsBaseStackName", false}, - "buildmethod": {"buildMethod", false}, - "buildname": {"buildName", false}, - "buildspath": {"buildsPath", false}, - "cachekey": {"cacheKey", false}, - "cachepulloverridecommand": {"cachePullOverrideCommand", false}, - "cachepushoverridecommand": {"cachePushOverrideCommand", false}, - "checkdependencyhealthoverride": {"checkDependencyHealthOverride", false}, - "chownfilesto": {"chownFilesTo", false}, - "cloudrunnercluster": {"cloudRunnerCluster", false}, - "cloudrunnercpu": {"cloudRunnerCpu", false}, - "cloudrunnermemory": {"cloudRunnerMemory", false}, - "customimage": {"customImage", false}, - "customjob": {"customJob", false}, - "customjobhooks": {"customJobHooks", false}, - "customparameters": {"customParameters", false}, - "gitprivatetoken": {"gitPrivateToken", false}, - "kubeconfig": {"kubeConfig", false}, - "kubestorageclass": {"kubeStorageClass", false}, - "kubevolume": {"kubeVolume", false}, - "kubevolumesize": {"kubeVolumeSize", false}, - "postbuildsteps": {"postBuildSteps", false}, - "prebuildsteps": {"preBuildSteps", false}, - "projectpath": {"projectPath", false}, - "readinputfromoverridelist": {"readInputFromOverrideList", false}, - "readinputoverridecommand": {"readInputOverrideCommand", false}, - "sshagent": {"sshAgent", false}, - "startdependenciesoverride": {"startDependenciesOverride", false}, - "targetplatform": {"targetPlatform", false}, - "unityversion": {"unityVersion", false}, - "version": {"version", false}, - "versioning": {"versioning", false}, - }, - Outputs: ActionMetadataOutputs{ - "buildversion": {"buildVersion"}, - "volume": {"volume"}, - }, - }, - "game-ci/unity-builder@v3": { - Name: "Unity - Builder", - Inputs: ActionMetadataInputs{ - "allowdirtybuild": {"allowDirtyBuild", false}, - "androidexporttype": {"androidExportType", false}, - "androidkeyaliasname": {"androidKeyaliasName", false}, - "androidkeyaliaspass": {"androidKeyaliasPass", false}, - "androidkeystorebase64": {"androidKeystoreBase64", false}, - "androidkeystorename": {"androidKeystoreName", false}, - "androidkeystorepass": {"androidKeystorePass", false}, - "androidsymboltype": {"androidSymbolType", false}, - "androidtargetsdkversion": {"androidTargetSdkVersion", false}, - "androidversioncode": {"androidVersionCode", false}, - "awsstackname": {"awsStackName", false}, - "buildmethod": {"buildMethod", false}, - "buildname": {"buildName", false}, - "buildspath": {"buildsPath", false}, - "cachekey": {"cacheKey", false}, - "cacheunityinstallationonmac": {"cacheUnityInstallationOnMac", false}, - "chownfilesto": {"chownFilesTo", false}, - "cloudrunnercpu": {"cloudRunnerCpu", false}, - "cloudrunnermemory": {"cloudRunnerMemory", false}, - "containerhookfiles": {"containerHookFiles", false}, - "customcommandhooks": {"customCommandHooks", false}, - "customhookfiles": {"customHookFiles", false}, - "customimage": {"customImage", false}, - "customjob": {"customJob", false}, - "customparameters": {"customParameters", false}, - "dockerworkspacepath": {"dockerWorkspacePath", false}, - "githubowner": {"githubOwner", false}, - "gitprivatetoken": {"gitPrivateToken", false}, - "kubeconfig": {"kubeConfig", false}, - "kubestorageclass": {"kubeStorageClass", false}, - "kubevolume": {"kubeVolume", false}, - "kubevolumesize": {"kubeVolumeSize", false}, - "postbuildsteps": {"postBuildSteps", false}, - "prebuildsteps": {"preBuildSteps", false}, - "projectpath": {"projectPath", false}, - "providerstrategy": {"providerStrategy", false}, - "readinputfromoverridelist": {"readInputFromOverrideList", false}, - "readinputoverridecommand": {"readInputOverrideCommand", false}, - "sshagent": {"sshAgent", false}, - "sshpublickeysdirectorypath": {"sshPublicKeysDirectoryPath", false}, - "targetplatform": {"targetPlatform", false}, - "unityhubversiononmac": {"unityHubVersionOnMac", false}, - "unitylicensingserver": {"unityLicensingServer", false}, - "unityversion": {"unityVersion", false}, - "version": {"version", false}, - "versioning": {"versioning", false}, - "watchtoend": {"watchToEnd", false}, - }, - Outputs: ActionMetadataOutputs{ - "androidversioncode": {"androidVersionCode"}, - "buildversion": {"buildVersion"}, - "volume": {"volume"}, - }, - }, "game-ci/unity-builder@v4": { Name: "Unity - Builder", Inputs: ActionMetadataInputs{ @@ -2413,33 +1338,6 @@ var PopularActions = map[string]*ActionMetadata{ "volume": {"volume"}, }, }, - "github/codeql-action/analyze@v2": { - Name: "CodeQL: Finish", - Inputs: ActionMetadataInputs{ - "add-snippets": {"add-snippets", false}, - "category": {"category", false}, - "check_name": {"check_name", false}, - "checkout_path": {"checkout_path", false}, - "cleanup-level": {"cleanup-level", false}, - "expect-error": {"expect-error", false}, - "matrix": {"matrix", false}, - "output": {"output", false}, - "ram": {"ram", false}, - "ref": {"ref", false}, - "sha": {"sha", false}, - "skip-queries": {"skip-queries", false}, - "threads": {"threads", false}, - "token": {"token", false}, - "upload": {"upload", false}, - "upload-database": {"upload-database", false}, - "wait-for-processing": {"wait-for-processing", false}, - }, - Outputs: ActionMetadataOutputs{ - "db-locations": {"db-locations"}, - "sarif-id": {"sarif-id"}, - "sarif-output": {"sarif-output"}, - }, - }, "github/codeql-action/analyze@v3": { Name: "CodeQL: Finish", Inputs: ActionMetadataInputs{ @@ -2467,14 +1365,6 @@ var PopularActions = map[string]*ActionMetadata{ "sarif-output": {"sarif-output"}, }, }, - "github/codeql-action/autobuild@v2": { - Name: "CodeQL: Autobuild", - Inputs: ActionMetadataInputs{ - "matrix": {"matrix", false}, - "token": {"token", false}, - "working-directory": {"working-directory", false}, - }, - }, "github/codeql-action/autobuild@v3": { Name: "CodeQL: Autobuild", Inputs: ActionMetadataInputs{ @@ -2483,35 +1373,6 @@ var PopularActions = map[string]*ActionMetadata{ "working-directory": {"working-directory", false}, }, }, - "github/codeql-action/init@v2": { - Name: "CodeQL: Init", - Inputs: ActionMetadataInputs{ - "build-mode": {"build-mode", false}, - "config": {"config", false}, - "config-file": {"config-file", false}, - "db-location": {"db-location", false}, - "debug": {"debug", false}, - "debug-artifact-name": {"debug-artifact-name", false}, - "debug-database-name": {"debug-database-name", false}, - "external-repository-token": {"external-repository-token", false}, - "languages": {"languages", false}, - "matrix": {"matrix", false}, - "packs": {"packs", false}, - "queries": {"queries", false}, - "ram": {"ram", false}, - "registries": {"registries", false}, - "setup-python-dependencies": {"setup-python-dependencies", false}, - "source-root": {"source-root", false}, - "threads": {"threads", false}, - "token": {"token", false}, - "tools": {"tools", false}, - "trap-caching": {"trap-caching", false}, - }, - Outputs: ActionMetadataOutputs{ - "codeql-path": {"codeql-path"}, - "codeql-version": {"codeql-version"}, - }, - }, "github/codeql-action/init@v3": { Name: "CodeQL: Init", Inputs: ActionMetadataInputs{ @@ -2556,20 +1417,6 @@ var PopularActions = map[string]*ActionMetadata{ "github/super-linter@v7": { Name: "Super-Linter", }, - "golangci/golangci-lint-action@v3": { - Name: "Run golangci-lint", - Inputs: ActionMetadataInputs{ - "args": {"args", false}, - "github-token": {"github-token", false}, - "install-mode": {"install-mode", false}, - "only-new-issues": {"only-new-issues", false}, - "skip-build-cache": {"skip-build-cache", false}, - "skip-cache": {"skip-cache", false}, - "skip-pkg-cache": {"skip-pkg-cache", false}, - "version": {"version", false}, - "working-directory": {"working-directory", false}, - }, - }, "golangci/golangci-lint-action@v4": { Name: "Run golangci-lint", Inputs: ActionMetadataInputs{ @@ -2614,36 +1461,6 @@ var PopularActions = map[string]*ActionMetadata{ "working-directory": {"working-directory", false}, }, }, - "google-github-actions/auth@v1": { - Name: "Authenticate to Google Cloud", - Inputs: ActionMetadataInputs{ - "access_token_lifetime": {"access_token_lifetime", false}, - "access_token_scopes": {"access_token_scopes", false}, - "access_token_subject": {"access_token_subject", false}, - "audience": {"audience", false}, - "backoff": {"backoff", false}, - "backoff_limit": {"backoff_limit", false}, - "cleanup_credentials": {"cleanup_credentials", false}, - "create_credentials_file": {"create_credentials_file", false}, - "credentials_json": {"credentials_json", false}, - "delegates": {"delegates", false}, - "export_environment_variables": {"export_environment_variables", false}, - "id_token_audience": {"id_token_audience", false}, - "id_token_include_email": {"id_token_include_email", false}, - "project_id": {"project_id", false}, - "retries": {"retries", false}, - "service_account": {"service_account", false}, - "token_format": {"token_format", false}, - "workload_identity_provider": {"workload_identity_provider", false}, - }, - Outputs: ActionMetadataOutputs{ - "access_token": {"access_token"}, - "access_token_expiration": {"access_token_expiration"}, - "credentials_file_path": {"credentials_file_path"}, - "id_token": {"id_token"}, - "project_id": {"project_id"}, - }, - }, "google-github-actions/auth@v2": { Name: "Authenticate to Google Cloud", Inputs: ActionMetadataInputs{ @@ -2676,14 +1493,6 @@ var PopularActions = map[string]*ActionMetadata{ "project_id": {"project_id"}, }, }, - "google-github-actions/get-secretmanager-secrets@v1": { - Name: "Get Secret Manager secrets", - Inputs: ActionMetadataInputs{ - "min_mask_length": {"min_mask_length", false}, - "secrets": {"secrets", true}, - }, - SkipOutputs: true, - }, "google-github-actions/get-secretmanager-secrets@v2": { Name: "Get Secret Manager secrets", Inputs: ActionMetadataInputs{ @@ -2694,15 +1503,6 @@ var PopularActions = map[string]*ActionMetadata{ }, SkipOutputs: true, }, - "google-github-actions/setup-gcloud@v1": { - Name: "Set up gcloud Cloud SDK environment", - Inputs: ActionMetadataInputs{ - "install_components": {"install_components", false}, - "project_id": {"project_id", false}, - "skip_install": {"skip_install", false}, - "version": {"version", false}, - }, - }, "google-github-actions/setup-gcloud@v2": { Name: "Set up gcloud Cloud SDK environment", Inputs: ActionMetadataInputs{ @@ -2715,22 +1515,6 @@ var PopularActions = map[string]*ActionMetadata{ "version": {"version"}, }, }, - "google-github-actions/upload-cloud-storage@v1": { - Name: "Cloud Storage Uploader", - Inputs: ActionMetadataInputs{ - "concurrency": {"concurrency", false}, - "destination": {"destination", true}, - "glob": {"glob", false}, - "gzip": {"gzip", false}, - "headers": {"headers", false}, - "parent": {"parent", false}, - "path": {"path", true}, - "predefinedacl": {"predefinedAcl", false}, - "process_gcloudignore": {"process_gcloudignore", false}, - "project_id": {"project_id", false}, - "resumable": {"resumable", false}, - }, - }, "google-github-actions/upload-cloud-storage@v2": { Name: "Cloud Storage Uploader", Inputs: ActionMetadataInputs{ @@ -2752,34 +1536,6 @@ var PopularActions = map[string]*ActionMetadata{ "uploaded": {"uploaded"}, }, }, - "goreleaser/goreleaser-action@v3": { - Name: "GoReleaser Action", - Inputs: ActionMetadataInputs{ - "args": {"args", false}, - "distribution": {"distribution", false}, - "install-only": {"install-only", false}, - "version": {"version", false}, - "workdir": {"workdir", false}, - }, - Outputs: ActionMetadataOutputs{ - "artifacts": {"artifacts"}, - "metadata": {"metadata"}, - }, - }, - "goreleaser/goreleaser-action@v4": { - Name: "GoReleaser Action", - Inputs: ActionMetadataInputs{ - "args": {"args", false}, - "distribution": {"distribution", false}, - "install-only": {"install-only", false}, - "version": {"version", false}, - "workdir": {"workdir", false}, - }, - Outputs: ActionMetadataOutputs{ - "artifacts": {"artifacts"}, - "metadata": {"metadata"}, - }, - }, "goreleaser/goreleaser-action@v5": { Name: "GoReleaser Action", Inputs: ActionMetadataInputs{ @@ -2808,17 +1564,6 @@ var PopularActions = map[string]*ActionMetadata{ "metadata": {"metadata"}, }, }, - "gradle/wrapper-validation-action@v1": { - Name: "Gradle Wrapper Validation", - Inputs: ActionMetadataInputs{ - "allow-checksums": {"allow-checksums", false}, - "allow-snapshots": {"allow-snapshots", false}, - "min-wrapper-count": {"min-wrapper-count", false}, - }, - Outputs: ActionMetadataOutputs{ - "failed-wrapper": {"failed-wrapper"}, - }, - }, "gradle/wrapper-validation-action@v2": { Name: "Gradle Wrapper Validation", Inputs: ActionMetadataInputs{ @@ -2841,70 +1586,9 @@ var PopularActions = map[string]*ActionMetadata{ "failed-wrapper": {"failed-wrapper"}, }, }, - "haskell/actions/setup@v2": { - Name: "Setup Haskell", - Inputs: ActionMetadataInputs{ - "cabal-update": {"cabal-update", false}, - "cabal-version": {"cabal-version", false}, - "disable-matcher": {"disable-matcher", false}, - "enable-stack": {"enable-stack", false}, - "ghc-version": {"ghc-version", false}, - "ghcup-release-channel": {"ghcup-release-channel", false}, - "stack-no-global": {"stack-no-global", false}, - "stack-setup-ghc": {"stack-setup-ghc", false}, - "stack-version": {"stack-version", false}, - }, - Outputs: ActionMetadataOutputs{ - "cabal-exe": {"cabal-exe"}, - "cabal-path": {"cabal-path"}, - "cabal-store": {"cabal-store"}, - "cabal-version": {"cabal-version"}, - "ghc-exe": {"ghc-exe"}, - "ghc-path": {"ghc-path"}, - "ghc-version": {"ghc-version"}, - "stack-exe": {"stack-exe"}, - "stack-path": {"stack-path"}, - "stack-root": {"stack-root"}, - "stack-version": {"stack-version"}, - }, - }, "microsoft/playwright-github-action@v1": { Name: "Run Playwright tests", }, - "mikepenz/release-changelog-builder-action@v3": { - Name: "Release Changelog Builder", - Inputs: ActionMetadataInputs{ - "baseurl": {"baseUrl", false}, - "commitmode": {"commitMode", false}, - "configuration": {"configuration", false}, - "configurationjson": {"configurationJson", false}, - "failonerror": {"failOnError", false}, - "fetchreleaseinformation": {"fetchReleaseInformation", false}, - "fetchreviewers": {"fetchReviewers", false}, - "fetchreviews": {"fetchReviews", false}, - "fromtag": {"fromTag", false}, - "ignoreprereleases": {"ignorePreReleases", false}, - "includeopen": {"includeOpen", false}, - "outputfile": {"outputFile", false}, - "owner": {"owner", false}, - "path": {"path", false}, - "repo": {"repo", false}, - "token": {"token", false}, - "totag": {"toTag", false}, - }, - Outputs: ActionMetadataOutputs{ - "categorized_prs": {"categorized_prs"}, - "changelog": {"changelog"}, - "failed": {"failed"}, - "fromtag": {"fromTag"}, - "open_prs": {"open_prs"}, - "owner": {"owner"}, - "pull_requests": {"pull_requests"}, - "repo": {"repo"}, - "totag": {"toTag"}, - "uncategorized_prs": {"uncategorized_prs"}, - }, - }, "mikepenz/release-changelog-builder-action@v4": { Name: "Release Changelog Builder", Inputs: ActionMetadataInputs{ @@ -3041,30 +1725,6 @@ var PopularActions = map[string]*ActionMetadata{ "upload_url": {"upload_url"}, }, }, - "nwtgck/actions-netlify@v2": { - Name: "Netlify Actions", - Inputs: ActionMetadataInputs{ - "alias": {"alias", false}, - "deploy-message": {"deploy-message", false}, - "enable-commit-comment": {"enable-commit-comment", false}, - "enable-commit-status": {"enable-commit-status", false}, - "enable-github-deployment": {"enable-github-deployment", false}, - "enable-pull-request-comment": {"enable-pull-request-comment", false}, - "fails-without-credentials": {"fails-without-credentials", false}, - "functions-dir": {"functions-dir", false}, - "github-deployment-description": {"github-deployment-description", false}, - "github-deployment-environment": {"github-deployment-environment", false}, - "github-token": {"github-token", false}, - "netlify-config-path": {"netlify-config-path", false}, - "overwrites-pull-request-comment": {"overwrites-pull-request-comment", false}, - "production-branch": {"production-branch", false}, - "production-deploy": {"production-deploy", false}, - "publish-dir": {"publish-dir", true}, - }, - Outputs: ActionMetadataOutputs{ - "deploy-url": {"deploy-url"}, - }, - }, "nwtgck/actions-netlify@v3": { Name: "Netlify Actions", Inputs: ActionMetadataInputs{ @@ -3123,31 +1783,6 @@ var PopularActions = map[string]*ActionMetadata{ "username": {"username", false}, }, }, - "peaceiris/actions-gh-pages@v3": { - Name: "GitHub Pages action", - Inputs: ActionMetadataInputs{ - "allow_empty_commit": {"allow_empty_commit", false}, - "cname": {"cname", false}, - "commit_message": {"commit_message", false}, - "deploy_key": {"deploy_key", false}, - "destination_dir": {"destination_dir", false}, - "disable_nojekyll": {"disable_nojekyll", false}, - "enable_jekyll": {"enable_jekyll", false}, - "exclude_assets": {"exclude_assets", false}, - "external_repository": {"external_repository", false}, - "force_orphan": {"force_orphan", false}, - "full_commit_message": {"full_commit_message", false}, - "github_token": {"github_token", false}, - "keep_files": {"keep_files", false}, - "personal_token": {"personal_token", false}, - "publish_branch": {"publish_branch", false}, - "publish_dir": {"publish_dir", false}, - "tag_message": {"tag_message", false}, - "tag_name": {"tag_name", false}, - "user_email": {"user_email", false}, - "user_name": {"user_name", false}, - }, - }, "peaceiris/actions-gh-pages@v4": { Name: "GitHub Pages action", Inputs: ActionMetadataInputs{ @@ -3180,69 +1815,6 @@ var PopularActions = map[string]*ActionMetadata{ "hugo-version": {"hugo-version", false}, }, }, - "peter-evans/create-pull-request@v4": { - Name: "Create Pull Request", - Inputs: ActionMetadataInputs{ - "add-paths": {"add-paths", false}, - "assignees": {"assignees", false}, - "author": {"author", false}, - "base": {"base", false}, - "body": {"body", false}, - "branch": {"branch", false}, - "branch-suffix": {"branch-suffix", false}, - "commit-message": {"commit-message", false}, - "committer": {"committer", false}, - "delete-branch": {"delete-branch", false}, - "draft": {"draft", false}, - "labels": {"labels", false}, - "milestone": {"milestone", false}, - "path": {"path", false}, - "push-to-fork": {"push-to-fork", false}, - "reviewers": {"reviewers", false}, - "signoff": {"signoff", false}, - "team-reviewers": {"team-reviewers", false}, - "title": {"title", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "pull-request-head-sha": {"pull-request-head-sha"}, - "pull-request-number": {"pull-request-number"}, - "pull-request-operation": {"pull-request-operation"}, - "pull-request-url": {"pull-request-url"}, - }, - }, - "peter-evans/create-pull-request@v5": { - Name: "Create Pull Request", - Inputs: ActionMetadataInputs{ - "add-paths": {"add-paths", false}, - "assignees": {"assignees", false}, - "author": {"author", false}, - "base": {"base", false}, - "body": {"body", false}, - "body-path": {"body-path", false}, - "branch": {"branch", false}, - "branch-suffix": {"branch-suffix", false}, - "commit-message": {"commit-message", false}, - "committer": {"committer", false}, - "delete-branch": {"delete-branch", false}, - "draft": {"draft", false}, - "labels": {"labels", false}, - "milestone": {"milestone", false}, - "path": {"path", false}, - "push-to-fork": {"push-to-fork", false}, - "reviewers": {"reviewers", false}, - "signoff": {"signoff", false}, - "team-reviewers": {"team-reviewers", false}, - "title": {"title", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "pull-request-head-sha": {"pull-request-head-sha"}, - "pull-request-number": {"pull-request-number"}, - "pull-request-operation": {"pull-request-operation"}, - "pull-request-url": {"pull-request-url"}, - }, - }, "peter-evans/create-pull-request@v6": { Name: "Create Pull Request", Inputs: ActionMetadataInputs{ @@ -3339,41 +1911,6 @@ var PopularActions = map[string]*ActionMetadata{ "command": {"command", true}, }, }, - "pulumi/actions@v4": { - Name: "Pulumi CLI Action", - Inputs: ActionMetadataInputs{ - "cloud-url": {"cloud-url", false}, - "color": {"color", false}, - "command": {"command", false}, - "comment-on-pr": {"comment-on-pr", false}, - "comment-on-pr-number": {"comment-on-pr-number", false}, - "comment-on-summary": {"comment-on-summary", false}, - "config-map": {"config-map", false}, - "diff": {"diff", false}, - "edit-pr-comment": {"edit-pr-comment", false}, - "exclude-protected": {"exclude-protected", false}, - "expect-no-changes": {"expect-no-changes", false}, - "github-token": {"github-token", false}, - "message": {"message", false}, - "parallel": {"parallel", false}, - "plan": {"plan", false}, - "policypackconfigs": {"policyPackConfigs", false}, - "policypacks": {"policyPacks", false}, - "pulumi-version": {"pulumi-version", false}, - "refresh": {"refresh", false}, - "remove": {"remove", false}, - "replace": {"replace", false}, - "secrets-provider": {"secrets-provider", false}, - "stack-name": {"stack-name", false}, - "target": {"target", false}, - "target-dependents": {"target-dependents", false}, - "upsert": {"upsert", false}, - "work-dir": {"work-dir", false}, - }, - Outputs: ActionMetadataOutputs{ - "output": {"output"}, - }, - }, "pulumi/actions@v5": { Name: "Pulumi CLI Action", Inputs: ActionMetadataInputs{ @@ -3694,31 +2231,6 @@ var PopularActions = map[string]*ActionMetadata{ "php-version": {"php-version"}, }, }, - "softprops/action-gh-release@v1": { - Name: "GH Release", - Inputs: ActionMetadataInputs{ - "append_body": {"append_body", false}, - "body": {"body", false}, - "body_path": {"body_path", false}, - "discussion_category_name": {"discussion_category_name", false}, - "draft": {"draft", false}, - "fail_on_unmatched_files": {"fail_on_unmatched_files", false}, - "files": {"files", false}, - "generate_release_notes": {"generate_release_notes", false}, - "name": {"name", false}, - "prerelease": {"prerelease", false}, - "repository": {"repository", false}, - "tag_name": {"tag_name", false}, - "target_commitish": {"target_commitish", false}, - "token": {"token", false}, - }, - Outputs: ActionMetadataOutputs{ - "assets": {"assets"}, - "id": {"id"}, - "upload_url": {"upload_url"}, - "url": {"url"}, - }, - }, "softprops/action-gh-release@v2": { Name: "GH Release", Inputs: ActionMetadataInputs{ @@ -3769,27 +2281,6 @@ var PopularActions = map[string]*ActionMetadata{ "version": {"VERSION"}, }, }, - "treosh/lighthouse-ci-action@v10": { - Name: "Lighthouse CI Action", - Inputs: ActionMetadataInputs{ - "artifactname": {"artifactName", false}, - "basicauthpassword": {"basicAuthPassword", false}, - "basicauthusername": {"basicAuthUsername", false}, - "budgetpath": {"budgetPath", false}, - "configpath": {"configPath", false}, - "runs": {"runs", false}, - "serverbaseurl": {"serverBaseUrl", false}, - "servertoken": {"serverToken", false}, - "temporarypublicstorage": {"temporaryPublicStorage", false}, - "uploadartifacts": {"uploadArtifacts", false}, - "urls": {"urls", false}, - }, - Outputs: ActionMetadataOutputs{ - "assertionresults": {"assertionResults"}, - "links": {"links"}, - "resultspath": {"resultsPath"}, - }, - }, "treosh/lighthouse-ci-action@v11": { Name: "Lighthouse CI Action", Inputs: ActionMetadataInputs{ @@ -3834,263 +2325,160 @@ var PopularActions = map[string]*ActionMetadata{ "resultspath": {"resultsPath"}, }, }, - "treosh/lighthouse-ci-action@v9": { - Name: "Lighthouse CI Action", - Inputs: ActionMetadataInputs{ - "artifactname": {"artifactName", false}, - "basicauthpassword": {"basicAuthPassword", false}, - "basicauthusername": {"basicAuthUsername", false}, - "budgetpath": {"budgetPath", false}, - "configpath": {"configPath", false}, - "runs": {"runs", false}, - "serverbaseurl": {"serverBaseUrl", false}, - "servertoken": {"serverToken", false}, - "temporarypublicstorage": {"temporaryPublicStorage", false}, - "uploadartifacts": {"uploadArtifacts", false}, - "urls": {"urls", false}, - }, - Outputs: ActionMetadataOutputs{ - "assertionresults": {"assertionResults"}, - "links": {"links"}, - "resultspath": {"resultsPath"}, - }, - }, - "wearerequired/lint-action@v2": { - Name: "Lint Action", - Inputs: ActionMetadataInputs{ - "auto_fix": {"auto_fix", false}, - "autopep8": {"autopep8", false}, - "autopep8_args": {"autopep8_args", false}, - "autopep8_auto_fix": {"autopep8_auto_fix", false}, - "autopep8_command_prefix": {"autopep8_command_prefix", false}, - "autopep8_dir": {"autopep8_dir", false}, - "autopep8_extensions": {"autopep8_extensions", false}, - "black": {"black", false}, - "black_args": {"black_args", false}, - "black_auto_fix": {"black_auto_fix", false}, - "black_command_prefix": {"black_command_prefix", false}, - "black_dir": {"black_dir", false}, - "black_extensions": {"black_extensions", false}, - "check_name": {"check_name", false}, - "clang_format": {"clang_format", false}, - "clang_format_args": {"clang_format_args", false}, - "clang_format_auto_fix": {"clang_format_auto_fix", false}, - "clang_format_command_prefix": {"clang_format_command_prefix", false}, - "clang_format_dir": {"clang_format_dir", false}, - "clang_format_extensions": {"clang_format_extensions", false}, - "commit": {"commit", false}, - "commit_message": {"commit_message", false}, - "continue_on_error": {"continue_on_error", false}, - "dotnet_format": {"dotnet_format", false}, - "dotnet_format_args": {"dotnet_format_args", false}, - "dotnet_format_auto_fix": {"dotnet_format_auto_fix", false}, - "dotnet_format_command_prefix": {"dotnet_format_command_prefix", false}, - "dotnet_format_dir": {"dotnet_format_dir", false}, - "dotnet_format_extensions": {"dotnet_format_extensions", false}, - "erblint": {"erblint", false}, - "erblint_args": {"erblint_args", false}, - "erblint_auto_fix": {"erblint_auto_fix", false}, - "erblint_command_prefix": {"erblint_command_prefix", false}, - "erblint_dir": {"erblint_dir", false}, - "erblint_extensions": {"erblint_extensions", false}, - "eslint": {"eslint", false}, - "eslint_args": {"eslint_args", false}, - "eslint_auto_fix": {"eslint_auto_fix", false}, - "eslint_command_prefix": {"eslint_command_prefix", false}, - "eslint_dir": {"eslint_dir", false}, - "eslint_extensions": {"eslint_extensions", false}, - "flake8": {"flake8", false}, - "flake8_args": {"flake8_args", false}, - "flake8_auto_fix": {"flake8_auto_fix", false}, - "flake8_command_prefix": {"flake8_command_prefix", false}, - "flake8_dir": {"flake8_dir", false}, - "flake8_extensions": {"flake8_extensions", false}, - "git_email": {"git_email", false}, - "git_name": {"git_name", false}, - "git_no_verify": {"git_no_verify", false}, - "github_token": {"github_token", false}, - "gofmt": {"gofmt", false}, - "gofmt_args": {"gofmt_args", false}, - "gofmt_auto_fix": {"gofmt_auto_fix", false}, - "gofmt_command_prefix": {"gofmt_command_prefix", false}, - "gofmt_dir": {"gofmt_dir", false}, - "gofmt_extensions": {"gofmt_extensions", false}, - "golint": {"golint", false}, - "golint_args": {"golint_args", false}, - "golint_auto_fix": {"golint_auto_fix", false}, - "golint_command_prefix": {"golint_command_prefix", false}, - "golint_dir": {"golint_dir", false}, - "golint_extensions": {"golint_extensions", false}, - "mypy": {"mypy", false}, - "mypy_args": {"mypy_args", false}, - "mypy_auto_fix": {"mypy_auto_fix", false}, - "mypy_command_prefix": {"mypy_command_prefix", false}, - "mypy_dir": {"mypy_dir", false}, - "mypy_extensions": {"mypy_extensions", false}, - "neutral_check_on_warning": {"neutral_check_on_warning", false}, - "oitnb": {"oitnb", false}, - "oitnb_args": {"oitnb_args", false}, - "oitnb_auto_fix": {"oitnb_auto_fix", false}, - "oitnb_command_prefix": {"oitnb_command_prefix", false}, - "oitnb_dir": {"oitnb_dir", false}, - "oitnb_extensions": {"oitnb_extensions", false}, - "php_codesniffer": {"php_codesniffer", false}, - "php_codesniffer_args": {"php_codesniffer_args", false}, - "php_codesniffer_auto_fix": {"php_codesniffer_auto_fix", false}, - "php_codesniffer_command_prefix": {"php_codesniffer_command_prefix", false}, - "php_codesniffer_dir": {"php_codesniffer_dir", false}, - "php_codesniffer_extensions": {"php_codesniffer_extensions", false}, - "prettier": {"prettier", false}, - "prettier_args": {"prettier_args", false}, - "prettier_auto_fix": {"prettier_auto_fix", false}, - "prettier_command_prefix": {"prettier_command_prefix", false}, - "prettier_dir": {"prettier_dir", false}, - "prettier_extensions": {"prettier_extensions", false}, - "pylint": {"pylint", false}, - "pylint_args": {"pylint_args", false}, - "pylint_auto_fix": {"pylint_auto_fix", false}, - "pylint_command_prefix": {"pylint_command_prefix", false}, - "pylint_dir": {"pylint_dir", false}, - "pylint_extensions": {"pylint_extensions", false}, - "rubocop": {"rubocop", false}, - "rubocop_args": {"rubocop_args", false}, - "rubocop_auto_fix": {"rubocop_auto_fix", false}, - "rubocop_command_prefix": {"rubocop_command_prefix", false}, - "rubocop_dir": {"rubocop_dir", false}, - "rubocop_extensions": {"rubocop_extensions", false}, - "stylelint": {"stylelint", false}, - "stylelint_args": {"stylelint_args", false}, - "stylelint_auto_fix": {"stylelint_auto_fix", false}, - "stylelint_command_prefix": {"stylelint_command_prefix", false}, - "stylelint_dir": {"stylelint_dir", false}, - "stylelint_extensions": {"stylelint_extensions", false}, - "swift_format_lockwood": {"swift_format_lockwood", false}, - "swift_format_lockwood_args": {"swift_format_lockwood_args", false}, - "swift_format_lockwood_auto_fix": {"swift_format_lockwood_auto_fix", false}, - "swift_format_lockwood_command_prefix": {"swift_format_lockwood_command_prefix", false}, - "swift_format_lockwood_dir": {"swift_format_lockwood_dir", false}, - "swift_format_lockwood_extensions": {"swift_format_lockwood_extensions", false}, - "swift_format_official": {"swift_format_official", false}, - "swift_format_official_args": {"swift_format_official_args", false}, - "swift_format_official_auto_fix": {"swift_format_official_auto_fix", false}, - "swift_format_official_command_prefix": {"swift_format_official_command_prefix", false}, - "swift_format_official_dir": {"swift_format_official_dir", false}, - "swift_format_official_extensions": {"swift_format_official_extensions", false}, - "swiftformat": {"swiftformat", false}, - "swiftformat_args": {"swiftformat_args", false}, - "swiftformat_auto_fix": {"swiftformat_auto_fix", false}, - "swiftformat_command_prefix": {"swiftformat_command_prefix", false}, - "swiftformat_dir": {"swiftformat_dir", false}, - "swiftformat_extensions": {"swiftformat_extensions", false}, - "swiftlint": {"swiftlint", false}, - "swiftlint_args": {"swiftlint_args", false}, - "swiftlint_auto_fix": {"swiftlint_auto_fix", false}, - "swiftlint_command_prefix": {"swiftlint_command_prefix", false}, - "swiftlint_dir": {"swiftlint_dir", false}, - "swiftlint_extensions": {"swiftlint_extensions", false}, - "tsc": {"tsc", false}, - "tsc_args": {"tsc_args", false}, - "tsc_auto_fix": {"tsc_auto_fix", false}, - "tsc_command_prefix": {"tsc_command_prefix", false}, - "tsc_dir": {"tsc_dir", false}, - "tsc_extensions": {"tsc_extensions", false}, - "xo": {"xo", false}, - "xo_args": {"xo_args", false}, - "xo_auto_fix": {"xo_auto_fix", false}, - "xo_command_prefix": {"xo_command_prefix", false}, - "xo_dir": {"xo_dir", false}, - "xo_extensions": {"xo_extensions", false}, - }, - }, } // OutdatedPopularActionSpecs is a spec set of known outdated popular actions. The word 'outdated' -// means that the runner used by the action is no longer available such as "node12". +// means that the runner used by the action is no longer available such as "node12", "node16". var OutdatedPopularActionSpecs = map[string]struct{}{ - "8398a7/action-slack@v1": {}, - "8398a7/action-slack@v2": {}, - "Azure/container-scan@v0": {}, - "JamesIves/github-pages-deploy-action@releases/v3": {}, - "ReactiveCircus/android-emulator-runner@v1": {}, - "Swatinem/rust-cache@v1": {}, - "actions-cool/issues-helper@v1": {}, - "actions-cool/issues-helper@v2": {}, - "actions-rs/audit-check@v1": {}, - "actions-rs/cargo@v1": {}, - "actions-rs/clippy-check@v1": {}, - "actions-rs/toolchain@v1": {}, - "actions/cache@v1": {}, - "actions/cache@v2": {}, - "actions/checkout@v2": {}, - "actions/delete-package-versions@v1": {}, - "actions/delete-package-versions@v2": {}, - "actions/download-artifact@v2": {}, - "actions/github-script@v1": {}, - "actions/github-script@v2": {}, - "actions/github-script@v3": {}, - "actions/github-script@v4": {}, - "actions/github-script@v5": {}, - "actions/labeler@v2": {}, - "actions/labeler@v3": {}, - "actions/setup-dotnet@v1": {}, - "actions/setup-go@v1": {}, - "actions/setup-go@v2": {}, - "actions/setup-java@v1": {}, - "actions/setup-java@v2": {}, - "actions/setup-node@v1": {}, - "actions/setup-node@v2": {}, - "actions/setup-python@v1": {}, - "actions/setup-python@v2": {}, - "actions/stale@v1": {}, - "actions/stale@v2": {}, - "actions/stale@v3": {}, - "actions/stale@v4": {}, - "actions/upload-artifact@v2": {}, - "aws-actions/configure-aws-credentials@v1": {}, - "azure/aks-set-context@v1": {}, - "azure/aks-set-context@v2": {}, - "codecov/codecov-action@v1": {}, - "codecov/codecov-action@v2": {}, - "dawidd6/action-send-mail@v2": {}, - "dessant/lock-threads@v2": {}, - "dessant/lock-threads@v3": {}, - "docker/build-push-action@v2": {}, - "docker/login-action@v1": {}, - "docker/metadata-action@v1": {}, - "docker/metadata-action@v2": {}, - "docker/metadata-action@v3": {}, - "docker/setup-buildx-action@v1": {}, - "docker/setup-qemu-action@v1": {}, - "dorny/paths-filter@v1": {}, - "github/codeql-action/analyze@v1": {}, - "github/codeql-action/autobuild@v1": {}, - "github/codeql-action/init@v1": {}, - "githubocto/flat@v1": {}, - "githubocto/flat@v2": {}, - "githubocto/flat@v3": {}, - "golangci/golangci-lint-action@v1": {}, - "golangci/golangci-lint-action@v2": {}, - "goreleaser/goreleaser-action@v1": {}, - "goreleaser/goreleaser-action@v2": {}, - "haskell/actions/setup@v1": {}, - "marvinpinto/action-automatic-releases@latest": {}, - "mikepenz/release-changelog-builder-action@v1": {}, - "mikepenz/release-changelog-builder-action@v2": {}, - "msys2/setup-msys2@v1": {}, - "nwtgck/actions-netlify@v1": {}, - "octokit/request-action@v1.x": {}, - "peter-evans/create-pull-request@v1": {}, - "peter-evans/create-pull-request@v2": {}, - "peter-evans/create-pull-request@v3": {}, - "preactjs/compressed-size-action@v1": {}, - "pulumi/actions@v2": {}, - "pulumi/actions@v3": {}, - "ridedott/merge-me-action@v1": {}, - "shivammathur/setup-php@v1": {}, - "treosh/lighthouse-ci-action@v1": {}, - "treosh/lighthouse-ci-action@v2": {}, - "treosh/lighthouse-ci-action@v3": {}, - "treosh/lighthouse-ci-action@v7": {}, - "treosh/lighthouse-ci-action@v8": {}, - "wearerequired/lint-action@v1": {}, + "8398a7/action-slack@v1": {}, + "8398a7/action-slack@v2": {}, + "Azure/container-scan@v0": {}, + "JamesIves/github-pages-deploy-action@releases/v3": {}, + "ReactiveCircus/android-emulator-runner@v1": {}, + "Swatinem/rust-cache@v1": {}, + "actions-cool/issues-helper@v1": {}, + "actions-cool/issues-helper@v2": {}, + "actions-rs/audit-check@v1": {}, + "actions-rs/cargo@v1": {}, + "actions-rs/clippy-check@v1": {}, + "actions-rs/toolchain@v1": {}, + "actions/cache@v1": {}, + "actions/cache@v2": {}, + "actions/cache@v3": {}, + "actions/checkout@v2": {}, + "actions/checkout@v3": {}, + "actions/configure-pages@v1": {}, + "actions/configure-pages@v2": {}, + "actions/configure-pages@v3": {}, + "actions/delete-package-versions@v1": {}, + "actions/delete-package-versions@v2": {}, + "actions/delete-package-versions@v3": {}, + "actions/delete-package-versions@v4": {}, + "actions/dependency-review-action@v3": {}, + "actions/deploy-pages@v1": {}, + "actions/deploy-pages@v2": {}, + "actions/download-artifact@v2": {}, + "actions/download-artifact@v3": {}, + "actions/github-script@v1": {}, + "actions/github-script@v2": {}, + "actions/github-script@v3": {}, + "actions/github-script@v4": {}, + "actions/github-script@v5": {}, + "actions/github-script@v6": {}, + "actions/labeler@v2": {}, + "actions/labeler@v3": {}, + "actions/labeler@v4": {}, + "actions/setup-dotnet@v1": {}, + "actions/setup-dotnet@v2": {}, + "actions/setup-dotnet@v3": {}, + "actions/setup-go@v1": {}, + "actions/setup-go@v2": {}, + "actions/setup-go@v3": {}, + "actions/setup-go@v4": {}, + "actions/setup-java@v1": {}, + "actions/setup-java@v2": {}, + "actions/setup-java@v3": {}, + "actions/setup-node@v1": {}, + "actions/setup-node@v2": {}, + "actions/setup-node@v3": {}, + "actions/setup-python@v1": {}, + "actions/setup-python@v2": {}, + "actions/setup-python@v3": {}, + "actions/setup-python@v4": {}, + "actions/stale@v1": {}, + "actions/stale@v2": {}, + "actions/stale@v3": {}, + "actions/stale@v4": {}, + "actions/stale@v5": {}, + "actions/stale@v6": {}, + "actions/stale@v7": {}, + "actions/stale@v8": {}, + "actions/upload-artifact@v2": {}, + "actions/upload-artifact@v3": {}, + "aws-actions/configure-aws-credentials@v1": {}, + "aws-actions/configure-aws-credentials@v2": {}, + "aws-actions/configure-aws-credentials@v3": {}, + "azure/aks-set-context@v1": {}, + "azure/aks-set-context@v2": {}, + "azure/aks-set-context@v3": {}, + "azure/login@v1": {}, + "codecov/codecov-action@v1": {}, + "codecov/codecov-action@v2": {}, + "codecov/codecov-action@v3": {}, + "dawidd6/action-download-artifact@v2": {}, + "dawidd6/action-send-mail@v2": {}, + "dessant/lock-threads@v2": {}, + "dessant/lock-threads@v3": {}, + "dessant/lock-threads@v4": {}, + "docker/build-push-action@v2": {}, + "docker/build-push-action@v3": {}, + "docker/build-push-action@v4": {}, + "docker/login-action@v1": {}, + "docker/login-action@v2": {}, + "docker/metadata-action@v1": {}, + "docker/metadata-action@v2": {}, + "docker/metadata-action@v3": {}, + "docker/metadata-action@v4": {}, + "docker/setup-buildx-action@v1": {}, + "docker/setup-buildx-action@v2": {}, + "docker/setup-qemu-action@v1": {}, + "docker/setup-qemu-action@v2": {}, + "dorny/paths-filter@v1": {}, + "dorny/paths-filter@v2": {}, + "enriikke/gatsby-gh-pages-action@v2": {}, + "game-ci/unity-builder@v2": {}, + "game-ci/unity-builder@v3": {}, + "github/codeql-action/analyze@v1": {}, + "github/codeql-action/analyze@v2": {}, + "github/codeql-action/autobuild@v1": {}, + "github/codeql-action/autobuild@v2": {}, + "github/codeql-action/init@v1": {}, + "github/codeql-action/init@v2": {}, + "githubocto/flat@v1": {}, + "githubocto/flat@v2": {}, + "githubocto/flat@v3": {}, + "golangci/golangci-lint-action@v1": {}, + "golangci/golangci-lint-action@v2": {}, + "golangci/golangci-lint-action@v3": {}, + "google-github-actions/auth@v1": {}, + "google-github-actions/get-secretmanager-secrets@v1": {}, + "google-github-actions/setup-gcloud@v1": {}, + "google-github-actions/upload-cloud-storage@v1": {}, + "goreleaser/goreleaser-action@v1": {}, + "goreleaser/goreleaser-action@v2": {}, + "goreleaser/goreleaser-action@v3": {}, + "goreleaser/goreleaser-action@v4": {}, + "gradle/wrapper-validation-action@v1": {}, + "haskell/actions/setup@v1": {}, + "haskell/actions/setup@v2": {}, + "marvinpinto/action-automatic-releases@latest": {}, + "mikepenz/release-changelog-builder-action@v1": {}, + "mikepenz/release-changelog-builder-action@v2": {}, + "mikepenz/release-changelog-builder-action@v3": {}, + "msys2/setup-msys2@v1": {}, + "nwtgck/actions-netlify@v1": {}, + "nwtgck/actions-netlify@v2": {}, + "octokit/request-action@v1.x": {}, + "peaceiris/actions-gh-pages@v3": {}, + "peter-evans/create-pull-request@v1": {}, + "peter-evans/create-pull-request@v2": {}, + "peter-evans/create-pull-request@v3": {}, + "peter-evans/create-pull-request@v4": {}, + "peter-evans/create-pull-request@v5": {}, + "preactjs/compressed-size-action@v1": {}, + "pulumi/actions@v2": {}, + "pulumi/actions@v3": {}, + "pulumi/actions@v4": {}, + "ridedott/merge-me-action@v1": {}, + "shivammathur/setup-php@v1": {}, + "softprops/action-gh-release@v1": {}, + "treosh/lighthouse-ci-action@v1": {}, + "treosh/lighthouse-ci-action@v10": {}, + "treosh/lighthouse-ci-action@v2": {}, + "treosh/lighthouse-ci-action@v3": {}, + "treosh/lighthouse-ci-action@v7": {}, + "treosh/lighthouse-ci-action@v8": {}, + "treosh/lighthouse-ci-action@v9": {}, + "wearerequired/lint-action@v1": {}, + "wearerequired/lint-action@v2": {}, } diff --git a/rule_action.go b/rule_action.go index 51e7f512f..070ce2888 100644 --- a/rule_action.go +++ b/rule_action.go @@ -480,10 +480,10 @@ func (rule *RuleAction) checkLocalActionRuns(meta *ActionMetadata, pos *Pos) { rule.checkLocalDockerActionRuns(r, meta.Dir(), meta.Name, pos) case "composite": rule.checkLocalCompositeActionRuns(r, meta.Dir(), meta.Name, pos) - case "node16", "node20": + case "node20": rule.checkLocalJavaScriptActionRuns(r, meta.Dir(), meta.Name, pos) default: - rule.Errorf(pos, `invalid runner name %q at runs.using in %q action defined at %q. valid runners are "composite", "docker", "node16", and "node20". see https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs`, r.Using, meta.Name, meta.Dir()) + rule.Errorf(pos, `invalid runner name %q at runs.using in %q action defined at %q. valid runners are "composite", "docker", and "node20". see https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs`, r.Using, meta.Name, meta.Dir()) // Probably invalid version of Node.js runner. Assume it is JavaScript action to find as many errors as possible if strings.HasPrefix(r.Using, "node") { diff --git a/scripts/generate-availability/main_test.go b/scripts/generate-availability/main_test.go index 9c937fc28..b1a872a87 100644 --- a/scripts/generate-availability/main_test.go +++ b/scripts/generate-availability/main_test.go @@ -40,12 +40,12 @@ func TestOKWriteStdout(t *testing.T) { func TestOKWriteFile(t *testing.T) { in := filepath.Join("testdata", "ok.md") out := filepath.Join("testdata", "_test_output.go") - defer os.Remove(out) stdout, stderr, status := testRunMain([]string{in, out}) if status != 0 { t.Fatalf("status was non-zero: %d: %q", status, stderr) } + defer os.Remove(out) b, err := os.ReadFile(filepath.Join("testdata", "ok.go")) if err != nil { diff --git a/scripts/generate-popular-actions/main.go b/scripts/generate-popular-actions/main.go index 46fb2154d..5aeff349c 100644 --- a/scripts/generate-popular-actions/main.go +++ b/scripts/generate-popular-actions/main.go @@ -62,7 +62,7 @@ func (r *registry) spec(tag string) string { //go:embed popular_actions.json var defaultPopularActionsJSON []byte -const minNodeRunnerVersion = 16 +const minNodeRunnerVersion = 20 func isOutdatedRunner(r string) bool { if !strings.HasPrefix(r, "node") { @@ -299,7 +299,7 @@ var PopularActions = map[string]*ActionMetadata{ fmt.Fprintln(b, "}") fmt.Fprintln(b, `// OutdatedPopularActionSpecs is a spec set of known outdated popular actions. The word 'outdated' -// means that the runner used by the action is no longer available such as "node12". +// means that the runner used by the action is no longer available such as "node12", "node16". var OutdatedPopularActionSpecs = map[string]struct{}{`) for _, s := range outdated { fmt.Fprintf(b, "%q: {},\n", s) diff --git a/scripts/generate-popular-actions/testdata/go/fetched.go b/scripts/generate-popular-actions/testdata/go/fetched.go index 89ee6e166..4ad834f84 100644 --- a/scripts/generate-popular-actions/testdata/go/fetched.go +++ b/scripts/generate-popular-actions/testdata/go/fetched.go @@ -30,5 +30,5 @@ var PopularActions = map[string]*ActionMetadata{ } // OutdatedPopularActionSpecs is a spec set of known outdated popular actions. The word 'outdated' -// means that the runner used by the action is no longer available such as "node12". +// means that the runner used by the action is no longer available such as "node12", "node16". var OutdatedPopularActionSpecs = map[string]struct{}{} diff --git a/scripts/generate-popular-actions/testdata/go/outdated.go b/scripts/generate-popular-actions/testdata/go/outdated.go index afcc450b2..9a47f37c2 100644 --- a/scripts/generate-popular-actions/testdata/go/outdated.go +++ b/scripts/generate-popular-actions/testdata/go/outdated.go @@ -7,7 +7,7 @@ package actionlint var PopularActions = map[string]*ActionMetadata{} // OutdatedPopularActionSpecs is a spec set of known outdated popular actions. The word 'outdated' -// means that the runner used by the action is no longer available such as "node12". +// means that the runner used by the action is no longer available such as "node12", "node16". var OutdatedPopularActionSpecs = map[string]struct{}{ "rhysd/action-setup-vim@v1.0.0": {}, } diff --git a/scripts/generate-popular-actions/testdata/go/skip_inputs_want.go b/scripts/generate-popular-actions/testdata/go/skip_inputs_want.go index 8b77baf4e..c94e72370 100644 --- a/scripts/generate-popular-actions/testdata/go/skip_inputs_want.go +++ b/scripts/generate-popular-actions/testdata/go/skip_inputs_want.go @@ -15,5 +15,5 @@ var PopularActions = map[string]*ActionMetadata{ } // OutdatedPopularActionSpecs is a spec set of known outdated popular actions. The word 'outdated' -// means that the runner used by the action is no longer available such as "node12". +// means that the runner used by the action is no longer available such as "node12", "node16". var OutdatedPopularActionSpecs = map[string]struct{}{} diff --git a/scripts/generate-popular-actions/testdata/go/skip_outputs_want.go b/scripts/generate-popular-actions/testdata/go/skip_outputs_want.go index 9b2e840f2..d3dd0eb18 100644 --- a/scripts/generate-popular-actions/testdata/go/skip_outputs_want.go +++ b/scripts/generate-popular-actions/testdata/go/skip_outputs_want.go @@ -17,5 +17,5 @@ var PopularActions = map[string]*ActionMetadata{ } // OutdatedPopularActionSpecs is a spec set of known outdated popular actions. The word 'outdated' -// means that the runner used by the action is no longer available such as "node12". +// means that the runner used by the action is no longer available such as "node12", "node16". var OutdatedPopularActionSpecs = map[string]struct{}{} diff --git a/scripts/generate-popular-actions/testdata/go/want.go b/scripts/generate-popular-actions/testdata/go/want.go index f4bb500e1..8b0eb2d2f 100644 --- a/scripts/generate-popular-actions/testdata/go/want.go +++ b/scripts/generate-popular-actions/testdata/go/want.go @@ -19,5 +19,5 @@ var PopularActions = map[string]*ActionMetadata{ } // OutdatedPopularActionSpecs is a spec set of known outdated popular actions. The word 'outdated' -// means that the runner used by the action is no longer available such as "node12". +// means that the runner used by the action is no longer available such as "node12", "node16". var OutdatedPopularActionSpecs = map[string]struct{}{} diff --git a/testdata/bench/many_scripts.yaml b/testdata/bench/many_scripts.yaml index b9a35a42e..8b803ca47 100644 --- a/testdata/bench/many_scripts.yaml +++ b/testdata/bench/many_scripts.yaml @@ -23,9 +23,9 @@ jobs: if: ${{ matrix.os == 'windows-latest' }} - run: shellcheck --version - run: pyflakes --version - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git --version - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: '1.16' - run: go build ./cmd/actionlint @@ -56,9 +56,9 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git --version - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: '1.16' - run: go version @@ -67,7 +67,7 @@ jobs: go get honnef.co/go/tools/cmd/staticcheck@latest echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" - run: make lint - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "lts/*" - run: cd ./playground && make main.wasm && npm install && npm run lint diff --git a/testdata/bench/small.yaml b/testdata/bench/small.yaml index d0b3c6d05..852ad71d6 100644 --- a/testdata/bench/small.yaml +++ b/testdata/bench/small.yaml @@ -8,14 +8,14 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 - run: go test -v -race lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 - run: go get honnef.co/go/tools/cmd/staticcheck@latest - run: | "$(go env GOPATH)/bin/staticcheck" ./... diff --git a/testdata/err/invalid_steps.yaml b/testdata/err/invalid_steps.yaml index ae8ffb1a1..722af7054 100644 --- a/testdata/err/invalid_steps.yaml +++ b/testdata/err/invalid_steps.yaml @@ -6,13 +6,13 @@ jobs: steps: # 'run' is first - run: echo hello - uses: actions/checkout@v3 + uses: actions/checkout@v4 # 'uses' is first - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 run: echo hello # 'shell' is specified so it must be 'run' - shell: bash - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Neither 'run' nor 'uses' is used - null test2: diff --git a/testdata/err/issue193.yaml b/testdata/err/issue193.yaml index 2f5fcbee4..4d9c4ac21 100644 --- a/testdata/err/issue193.yaml +++ b/testdata/err/issue193.yaml @@ -4,5 +4,5 @@ jobs: foo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 continue-on-error: ${{ env.OS == "macos-latest" }} diff --git a/testdata/err/issue207_work_dir_with_uses.yaml b/testdata/err/issue207_work_dir_with_uses.yaml index dcaffa84f..274423672 100644 --- a/testdata/err/issue207_work_dir_with_uses.yaml +++ b/testdata/err/issue207_work_dir_with_uses.yaml @@ -4,7 +4,7 @@ jobs: foo: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 working-directory: ./foo - run: echo "$(pwd)" working-directory: ./foo diff --git a/testdata/err/outdated_actions.out b/testdata/err/outdated_actions.out new file mode 100644 index 000000000..82a026b10 --- /dev/null +++ b/testdata/err/outdated_actions.out @@ -0,0 +1,2 @@ +test.yaml:8:15: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] +test.yaml:10:15: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] diff --git a/testdata/err/outdated_actions.yaml b/testdata/err/outdated_actions.yaml new file mode 100644 index 000000000..97e64a704 --- /dev/null +++ b/testdata/err/outdated_actions.yaml @@ -0,0 +1,10 @@ +on: push + +jobs: + test: + runs-on: ubuntu-latest + steps: + # node12 runner + - uses: actions/checkout@v2 + # node16 runner + - uses: actions/checkout@v3 diff --git a/testdata/examples/action_metadata_syntax_validation.out b/testdata/examples/action_metadata_syntax_validation.out index a4ff12005..f95fcc257 100644 --- a/testdata/examples/action_metadata_syntax_validation.out +++ b/testdata/examples/action_metadata_syntax_validation.out @@ -1,6 +1,6 @@ /test\.yaml:8:15: description is required in metadata of "My action" action at ".+(\\\\|/)my-invalid-action(\\\\|/)action\.yml" \[action\]/ /test\.yaml:8:15: incorrect icon name "dog" at branding\.icon in metadata of "My action" action at ".+(\\\\|/)my-invalid-action(\\\\|/)action\.yml"\. see the official document to know the exhaustive list of supported icons: https://.+ \[action\]/ /test\.yaml:8:15: incorrect color "black" at branding\.icon in metadata of "My action" action at ".+(\\\\|/)my-invalid-action(\\\\|/)action\.yml"\. see the official document to know the exhaustive list of supported colors: https://.+ \[action\]/ -/test\.yaml:8:15: invalid runner name \"node14\" at runs\.using in \"My action\" action defined at \".+(\\\\|/)actions(\\\\|/)my-invalid-action\"\. valid runners are \"composite\", \"docker\", \"node16\", and \"node20\"\. see https://.+ \[action\]/ +/test\.yaml:8:15: invalid runner name \"node14\" at runs\.using in \"My action\" action defined at \".+(\\\\|/)actions(\\\\|/)my-invalid-action\"\. valid runners are \"composite\", \"docker\", and \"node20\"\. see https://.+ \[action\]/ /test\.yaml:8:15: file "this-file-does-not-exist\.js" does not exist in ".+(\\\\|/)my-invalid-action"\. it is specified at "main" key in "runs" section in "My action" action \[action\]/ /test\.yaml:8:15: "env" is not allowed in "runs" section because "My action" is a JavaScript action\. the action is defined at ".+(\\\\|/)my-invalid-action" \[action\]/ diff --git a/testdata/examples/detect_outdated_popular_actions.out b/testdata/examples/detect_outdated_popular_actions.out index 4ad04a9fb..e6b292621 100644 --- a/testdata/examples/detect_outdated_popular_actions.out +++ b/testdata/examples/detect_outdated_popular_actions.out @@ -1 +1 @@ -test.yaml:8:15: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] +test.yaml:8:15: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] diff --git a/testdata/examples/detect_outdated_popular_actions.yaml b/testdata/examples/detect_outdated_popular_actions.yaml index d6cf50b52..74a15cf4f 100644 --- a/testdata/examples/detect_outdated_popular_actions.yaml +++ b/testdata/examples/detect_outdated_popular_actions.yaml @@ -4,5 +4,5 @@ jobs: test: runs-on: ubuntu-latest steps: - # ERROR: actions/checkout@v2 is using the outdated runner 'node12' - - uses: actions/checkout@v2 + # ERROR: actions/checkout@v3 is using the outdated runner 'node16' + - uses: actions/checkout@v3 diff --git a/testdata/examples/main.out b/testdata/examples/main.out index 3be321e4a..b67903228 100644 --- a/testdata/examples/main.out +++ b/testdata/examples/main.out @@ -2,6 +2,6 @@ test.yaml:3:5: unexpected key "branch" for "push" section. expected one of "bran test.yaml:5:11: character '\' is invalid for branch and tag names. only special characters [, ?, +, *, \, ! can be escaped with \. see `man git-check-ref-format` for more details. note that regular expression is unavailable. note: filter pattern syntax is explained at https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob] /test\.yaml:10:28: label "linux-latest" is unknown\. available labels are .+\. if it is a custom label for self-hosted runner, set list of labels in actionlint\.yaml config file \[runner-label\]/ test.yaml:13:41: "github.event.head_commit.message" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details [expression] -test.yaml:17:11: input "node_version" is not defined in action "actions/setup-node@v3". available inputs are "always-auth", "architecture", "cache", "cache-dependency-path", "check-latest", "node-version", "node-version-file", "registry-url", "scope", "token" [action] +test.yaml:17:11: input "node_version" is not defined in action "actions/setup-node@v4". available inputs are "always-auth", "architecture", "cache", "cache-dependency-path", "check-latest", "node-version", "node-version-file", "registry-url", "scope", "token" [action] test.yaml:21:20: property "platform" is not defined in object type {os: string} [expression] test.yaml:22:17: receiver of object dereference "permissions" must be type of object but got "string" [expression] diff --git a/testdata/examples/main.yaml b/testdata/examples/main.yaml index f3f74f280..e2944eb55 100644 --- a/testdata/examples/main.yaml +++ b/testdata/examples/main.yaml @@ -11,11 +11,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - run: echo "Checking commit '${{ github.event.head_commit.message }}'" - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node_version: 16.x - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ matrix.platform }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/testdata/examples/popular_action_inputs.out b/testdata/examples/popular_action_inputs.out index aa036abf1..f56406a3a 100644 --- a/testdata/examples/popular_action_inputs.out +++ b/testdata/examples/popular_action_inputs.out @@ -1,2 +1,2 @@ -test.yaml:7:15: missing input "key" which is required by action "actions/cache@v3". all required inputs are "key", "path" [action] -/test\.yaml:9:11: input "keys" is not defined in action "actions/cache@v3"\. available inputs are .+ \[action\]/ +test.yaml:7:15: missing input "key" which is required by action "actions/cache@v4". all required inputs are "key", "path" [action] +/test\.yaml:9:11: input "keys" is not defined in action "actions/cache@v4"\. available inputs are .+ \[action\]/ diff --git a/testdata/examples/popular_action_inputs.yaml b/testdata/examples/popular_action_inputs.yaml index 0da232ed2..6182153fe 100644 --- a/testdata/examples/popular_action_inputs.yaml +++ b/testdata/examples/popular_action_inputs.yaml @@ -4,7 +4,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: keys: | ${{ hashFiles('**/*.lock') }} diff --git a/testdata/examples/popular_action_outputs.yaml b/testdata/examples/popular_action_outputs.yaml index da65e60cf..774d356f1 100644 --- a/testdata/examples/popular_action_outputs.yaml +++ b/testdata/examples/popular_action_outputs.yaml @@ -7,7 +7,7 @@ jobs: # ERROR: The step is not run yet at this point - run: echo ${{ steps.cache.outputs.cache-hit }} # actions/cache sets cache-hit output - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: key: ${{ hashFiles('**/*.lock') }} diff --git a/testdata/format/test.yaml b/testdata/format/test.yaml index d922ed60f..578c4c6c1 100644 --- a/testdata/format/test.yaml +++ b/testdata/format/test.yaml @@ -5,7 +5,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: echo ${{ matrix.msg }} with: arg: foo diff --git a/testdata/ok/allow_any_outputs.yaml b/testdata/ok/allow_any_outputs.yaml index c5a337d77..a565e4e52 100644 --- a/testdata/ok/allow_any_outputs.yaml +++ b/testdata/ok/allow_any_outputs.yaml @@ -4,7 +4,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: ... diff --git a/testdata/ok/issue-280_runs_on.yaml b/testdata/ok/issue-280_runs_on.yaml index 4b3c80240..401cc0653 100644 --- a/testdata/ok/issue-280_runs_on.yaml +++ b/testdata/ok/issue-280_runs_on.yaml @@ -6,26 +6,26 @@ jobs: runs-on: group: ubuntu-runners steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 test2: runs-on: labels: x64 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 test3: runs-on: group: ubuntu-runners labels: x64 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 test4: runs-on: labels: [x64, self-hosted] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 test5: runs-on: group: ubuntu-runners labels: [x64, self-hosted] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 diff --git a/testdata/ok/issue-31.yaml b/testdata/ok/issue-31.yaml index b8b42f352..700953408 100644 --- a/testdata/ok/issue-31.yaml +++ b/testdata/ok/issue-31.yaml @@ -6,7 +6,7 @@ jobs: create_release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ncipollo/release-action@v1 with: allowUpdates: false diff --git a/testdata/ok/issue-442.yaml b/testdata/ok/issue-442.yaml index 4b6a56672..0dc1c4001 100644 --- a/testdata/ok/issue-442.yaml +++ b/testdata/ok/issue-442.yaml @@ -4,6 +4,6 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 id: dl - run: echo "Download path is ${{ steps.dl.outputs.download-path}}" diff --git a/testdata/ok/issue-87.yaml b/testdata/ok/issue-87.yaml index b42727a95..946ea252f 100644 --- a/testdata/ok/issue-87.yaml +++ b/testdata/ok/issue-87.yaml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/testdata/projects/local_action_case_insensitive/action/action.yaml b/testdata/projects/local_action_case_insensitive/action/action.yaml index 08c264b01..006a41d1c 100644 --- a/testdata/projects/local_action_case_insensitive/action/action.yaml +++ b/testdata/projects/local_action_case_insensitive/action/action.yaml @@ -13,5 +13,5 @@ outputs: description: user ID runs: - using: 'node16' + using: 'node20' main: 'index.js' diff --git a/testdata/projects/local_action_empty/action/action.yaml b/testdata/projects/local_action_empty/action/action.yaml index cbbb85675..3fd796c08 100644 --- a/testdata/projects/local_action_empty/action/action.yaml +++ b/testdata/projects/local_action_empty/action/action.yaml @@ -3,5 +3,5 @@ author: 'rhysd ' description: 'my action' runs: - using: 'node16' + using: 'node20' main: 'index.js' diff --git a/testdata/projects/local_action_invalid_runners.out b/testdata/projects/local_action_invalid_runners.out index 3e769c224..fec9b766b 100644 --- a/testdata/projects/local_action_invalid_runners.out +++ b/testdata/projects/local_action_invalid_runners.out @@ -1,5 +1,6 @@ -/workflows/test\.yaml:7:15: invalid runner name "node14" at runs\.using in "Old Node\.js" action defined at ".+old_node"\. valid runners are "composite", "docker", "node16", and "node20"\. see https://.+ \[action\]/ +/workflows/test\.yaml:7:15: invalid runner name "node16" at runs\.using in "Old Node\.js" action defined at ".+old_node"\. valid runners are "composite", "docker", and "node20"\. see https://.+ \[action\]/ /workflows/test\.yaml:8:15: "runs\.using" is missing in local action "Missing runner name" defined at ".+missing_runs" \[action\]/ /workflows/test\.yaml:9:15: "runs\.using" is missing in local action "No using" defined at ".+missing_using" \[action\]/ -/workflows/test\.yaml:10:15: invalid runner name "what-is-this-runner" at runs\.using in "Unknown runner name" action defined at ".+unknown_runner"\. valid runners are "composite", "docker", "node16", and "node20"\. see https://.+ \[action\]/ -/workflows/test\.yaml:11:15: invalid runner name "nodenext" at runs\.using in "Invalid node version" action defined at ".+invalid_node_version"\. valid runners are "composite", "docker", "node16", and "node20"\. see https://.+ \[action\]/ +/workflows/test\.yaml:10:15: invalid runner name "what-is-this-runner" at runs\.using in "Unknown runner name" action defined at ".+unknown_runner"\. valid runners are "composite", "docker", and "node20"\. see https://.+ \[action\]/ +/workflows/test\.yaml:11:15: invalid runner name "nodenext" at runs\.using in "Invalid node version" action defined at ".+invalid_node_version"\. valid runners are "composite", "docker", and "node20"\. see https://.+ \[action\]/ +/workflows/test\.yaml:12:15: invalid runner name "node12" at runs\.using in "Node\.js v12 runner" action defined at ".+node12"\. valid runners are "composite", "docker", and "node20"\. see https://.+ \[action\]/ diff --git a/testdata/projects/local_action_invalid_runners/node12/action.yaml b/testdata/projects/local_action_invalid_runners/node12/action.yaml new file mode 100644 index 000000000..f2882538e --- /dev/null +++ b/testdata/projects/local_action_invalid_runners/node12/action.yaml @@ -0,0 +1,7 @@ +name: 'Node.js v12 runner' +author: 'rhysd ' +description: 'Runner node version is too old' + +runs: + using: 'node12' + main: 'index.js' diff --git a/testdata/projects/local_action_invalid_runners/node12/index.js b/testdata/projects/local_action_invalid_runners/node12/index.js new file mode 100644 index 000000000..e69de29bb diff --git a/testdata/projects/local_action_invalid_runners/old_node/action.yaml b/testdata/projects/local_action_invalid_runners/old_node/action.yaml index e025d99c8..421edcffe 100644 --- a/testdata/projects/local_action_invalid_runners/old_node/action.yaml +++ b/testdata/projects/local_action_invalid_runners/old_node/action.yaml @@ -3,5 +3,5 @@ author: 'rhysd ' description: 'Runner node version is too old' runs: - using: 'node14' + using: 'node16' main: 'index.js' diff --git a/testdata/projects/local_action_invalid_runners/workflows/test.yaml b/testdata/projects/local_action_invalid_runners/workflows/test.yaml index acd564a6b..19f23905e 100644 --- a/testdata/projects/local_action_invalid_runners/workflows/test.yaml +++ b/testdata/projects/local_action_invalid_runners/workflows/test.yaml @@ -9,5 +9,6 @@ jobs: - uses: ./missing_using - uses: ./unknown_runner - uses: ./invalid_node_version + - uses: ./node12 # Check using same invalid action twice does not duplicate the errors - uses: ./old_node