docs(ci): pin Gitea sources and reproducible verification plan

This commit is contained in:
Agent Workbench Dev
2026-11-07 21:43:15 +08:00
parent 470d694831
commit a43262c112
14 changed files with 906 additions and 0 deletions
+95
View File
@@ -0,0 +1,95 @@
{
"schemaVersion": 1,
"checkedAt": "2026-11-07",
"observedInstance": {
"version": "1.26.2",
"actionsEnabled": true,
"runnerAvailability": "unknown"
},
"sources": [
{
"id": "action-checkout",
"url": "https://gitea.com/actions/checkout/raw/commit/11bd71901bbe5b1630ceea73d27597364c9af683/action.yml",
"checkedAt": "2026-11-07",
"file": "sources/action-checkout.yml",
"sha256": "5349b6eea0a1797a9a993c48db9d95b33d27ee1b6227ceced0c9cbf8e655c939",
"bytes": 4593,
"representation": "original-action-metadata-from-gitea-actions-mirror",
"commit": "11bd71901bbe5b1630ceea73d27597364c9af683",
"repository": "https://github.com/actions/checkout",
"scope": "same immutable commit verified by public GitHub v4.2.2 ref; first raw-fetch/clone failures remain"
},
{
"id": "action-setup-node",
"url": "https://raw.githubusercontent.com/actions/setup-node/49933ea5288caeca8642d1e84afbd3f7d6820020/action.yml",
"checkedAt": "2026-11-07",
"file": "sources/action-setup-node.yml",
"sha256": "8aee59063ebc272d850507febb30930de2684be1b1240cf5f3dff13179fcff0b",
"bytes": 2614,
"representation": "original-action-metadata",
"commit": "49933ea5288caeca8642d1e84afbd3f7d6820020",
"repository": "https://github.com/actions/setup-node",
"scope": "pinned action metadata; remote execution still unverified"
},
{
"id": "action-setup-python",
"url": "https://raw.githubusercontent.com/actions/setup-python/a26af69be951a213d495a4c3e4e4022e16d87065/action.yml",
"checkedAt": "2026-11-07",
"file": "sources/action-setup-python.yml",
"sha256": "0acca40eee6f548ea8269ece66fd625fe9deb1f61f31f0b58562068fc083eb37",
"bytes": 2364,
"representation": "original-action-metadata",
"commit": "a26af69be951a213d495a4c3e4e4022e16d87065",
"repository": "https://github.com/actions/setup-python",
"scope": "pinned action metadata; remote execution still unverified"
},
{
"id": "action-upload-artifact",
"url": "https://gitea.com/actions/upload-artifact/raw/commit/ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5/action.yml",
"checkedAt": "2026-11-07",
"file": "sources/action-upload-artifact.yml",
"sha256": "1516e0d1018602f83eba56c8394f60729e8163f5fde2f38efbb1019e8bdddfb3",
"bytes": 1150,
"representation": "original-action-metadata",
"commit": "ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5",
"repository": "https://gitea.com/actions/upload-artifact",
"scope": "pinned action metadata; remote execution still unverified"
},
{
"id": "gitea-126-comparison",
"url": "https://docs.gitea.com/1.26/usage/actions/comparison/",
"checkedAt": "2026-11-07",
"file": "sources/gitea-126-comparison.body",
"sha256": "cffdd051921168d1ed8990bd948ac8abadbe205ded4fbf75a739c0dae50a6c50",
"bytes": 87919,
"representation": "original-received-html",
"versionSeries": "1.26",
"documentationPatch": "1.26.4",
"scope": "workflow and runner contract, not a remote run receipt"
},
{
"id": "gitea-126-quickstart",
"url": "https://docs.gitea.com/1.26/usage/actions/quickstart/",
"checkedAt": "2026-11-07",
"file": "sources/gitea-126-quickstart.body",
"sha256": "0e43166b786de4eedf54839231a312f8d3933ed7ba350712d5a1f54c01a1fb59",
"bytes": 73731,
"representation": "original-received-html",
"versionSeries": "1.26",
"documentationPatch": "1.26.4",
"scope": "workflow and runner contract, not a remote run receipt"
},
{
"id": "gitea-126-runner",
"url": "https://docs.gitea.com/1.26/usage/actions/act-runner/",
"checkedAt": "2026-11-07",
"file": "sources/gitea-126-runner.body",
"sha256": "9b1d81d3648a5572817c91e61c3a9c6c526cdb05b8150d21a9de4a6a6baa9c1d",
"bytes": 158980,
"representation": "original-received-html",
"versionSeries": "1.26",
"documentationPatch": "1.26.4",
"scope": "workflow and runner contract, not a remote run receipt"
}
]
}
+109
View File
@@ -0,0 +1,109 @@
name: 'Checkout'
description: 'Checkout a Git repository at a particular version'
inputs:
repository:
description: 'Repository name with owner. For example, actions/checkout'
default: ${{ github.repository }}
ref:
description: >
The branch, tag or SHA to checkout. When checking out the repository that
triggered a workflow, this defaults to the reference or SHA for that
event. Otherwise, uses the default branch.
token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured
with the local git config, which enables your scripts to run authenticated git
commands. The post-job step removes the PAT.
We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
default: ${{ github.token }}
ssh-key:
description: >
SSH key used to fetch the repository. The SSH key is configured with the local
git config, which enables your scripts to run authenticated git commands.
The post-job step removes the SSH key.
We recommend using a service account with the least permissions necessary.
[Learn more about creating and using
encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
ssh-known-hosts:
description: >
Known hosts in addition to the user and global host key database. The public
SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example,
`ssh-keyscan github.com`. The public key for github.com is always implicitly added.
ssh-strict:
description: >
Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes`
and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to
configure additional hosts.
default: true
ssh-user:
description: >
The user to use when connecting to the remote SSH host. By default 'git' is used.
default: git
persist-credentials:
description: 'Whether to configure the token or SSH key with the local git config'
default: true
path:
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
clean:
description: 'Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
default: true
filter:
description: >
Partially clone against a given filter.
Overrides sparse-checkout if set.
default: null
sparse-checkout:
description: >
Do a sparse checkout on given patterns.
Each pattern should be separated with new lines.
default: null
sparse-checkout-cone-mode:
description: >
Specifies whether to use cone-mode when doing a sparse checkout.
default: true
fetch-depth:
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
default: 1
fetch-tags:
description: 'Whether to fetch tags, even if fetch-depth > 0.'
default: false
show-progress:
description: 'Whether to show progress status output when fetching.'
default: true
lfs:
description: 'Whether to download Git-LFS files'
default: false
submodules:
description: >
Whether to checkout submodules: `true` to checkout submodules or `recursive` to
recursively checkout submodules.
When the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are
converted to HTTPS.
default: false
set-safe-directory:
description: Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>`
default: true
github-server-url:
description: The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com
required: false
outputs:
ref:
description: 'The branch, tag or SHA that was checked out'
commit:
description: 'The commit SHA that was checked out'
runs:
using: node20
main: dist/index.js
post: dist/index.js
+43
View File
@@ -0,0 +1,43 @@
name: 'Setup Node.js environment'
description: 'Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH.'
author: 'GitHub'
inputs:
always-auth:
description: 'Set always-auth in npmrc.'
default: 'false'
node-version:
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.'
node-version-file:
description: 'File containing the version Spec of the version to use. Examples: package.json, .nvmrc, .node-version, .tool-versions.'
architecture:
description: 'Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.'
check-latest:
description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec.'
default: false
registry-url:
description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN.'
scope:
description: 'Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).'
token:
description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
cache:
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.'
cache-dependency-path:
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
mirror:
description: 'Used to specify an alternative mirror to downlooad Node.js binaries from'
mirror-token:
description: 'The token used as Authorization header when fetching from the mirror'
# TODO: add input to control forcing to pull from cloud or dist.
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
outputs:
cache-hit:
description: 'A boolean value to indicate if a cache was hit.'
node-version:
description: 'The installed node version.'
runs:
using: 'node20'
main: 'dist/setup/index.js'
post: 'dist/cache-save/index.js'
post-if: success()
@@ -0,0 +1,46 @@
---
name: "Setup Python"
description: "Set up a specific version of Python and add the command-line tools to the PATH."
author: "GitHub"
inputs:
python-version:
description: "Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset."
python-version-file:
description: "File containing the Python version to use. Example: .python-version"
cache:
description: "Used to specify a package manager for caching in the default directory. Supported values: pip, pipenv, poetry."
required: false
architecture:
description: "The target architecture (x86, x64, arm64) of the Python or PyPy interpreter."
check-latest:
description: "Set this option if you want the action to check for the latest available version that satisfies the version spec."
default: false
token:
description: "The token used to authenticate when fetching Python distributions from https://github.com/actions/python-versions. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting."
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
cache-dependency-path:
description: "Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies."
update-environment:
description: "Set this option if you want the action to update environment variables."
default: true
allow-prereleases:
description: "When 'true', a version range passed to 'python-version' input will match prerelease versions if no GA versions are found. Only 'x.y' version range is supported for CPython."
default: false
freethreaded:
description: "When 'true', use the freethreaded version of Python."
default: false
outputs:
python-version:
description: "The installed Python or PyPy version. Useful when given a version range as input."
cache-hit:
description: "A boolean value to indicate a cache entry was found"
python-path:
description: "The absolute path to the Python or PyPy executable."
runs:
using: 'node20'
main: 'dist/setup/index.js'
post: 'dist/cache-save/index.js'
post-if: success()
branding:
icon: 'code'
color: 'yellow'
@@ -0,0 +1,33 @@
name: 'Upload a Build Artifact'
description: 'Upload a build artifact that can be used by subsequent workflow steps'
author: 'GitHub'
inputs:
name:
description: 'Artifact name'
default: 'artifact'
path:
description: 'A file, directory or wildcard pattern that describes what to upload'
required: true
if-no-files-found:
description: >
The desired behavior if no files are found using the provided path.
Available Options:
warn: Output a warning but do not fail the action
error: Fail the action with an error message
ignore: Do not output any warnings or errors, the action does not fail
default: 'warn'
retention-days:
description: >
Duration after which artifact will expire in days. 0 means using default retention.
Minimum 1 day.
Maximum 90 days unless changed from the repository settings page.
include-hidden-files:
description: >
If true, hidden files will be included in the uploaded artifact.
If false, hidden files will be excluded from the uploaded artifact.
default: 'false'
runs:
using: 'node16'
main: 'dist/index.js'
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long