diff --git a/.github/workflow-templates/opsscript-gate.yml b/.github/workflow-templates/opsscript-gate.yml index 98b647e..a06e02a 100644 --- a/.github/workflow-templates/opsscript-gate.yml +++ b/.github/workflow-templates/opsscript-gate.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Run OpsScript Gate - uses: Mresyzz/opsscript-gate@v0.9.2 + uses: Mresyzz/opsscript-gate@v0.9.4 with: shell: auto network: none diff --git a/README.md b/README.md index 0f805e7..c3f65b1 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ apt-get --version Run it locally with `opsscript-gate run ./install.sh`, or add the following step to CI: ```yaml -- uses: Mresyzz/opsscript-gate@v0.9.2 +- uses: Mresyzz/opsscript-gate@v0.9.4 with: script-path: install.sh ``` @@ -57,7 +57,7 @@ The result identifies the failing distribution, exit code, line, missing command --- -## Current version: v0.9.2 (local candidate) +## Current release: v0.9.4 The current release includes a project config file, a dry-run plan, presets, exclusions, saved reports, changed-script selection for pull requests, and repeat runs for detecting @@ -111,7 +111,7 @@ jobs: - uses: actions/checkout@v7 with: persist-credentials: false - - uses: Mresyzz/opsscript-gate@v0.9.2 + - uses: Mresyzz/opsscript-gate@v0.9.4 ``` This zero-configuration form discovers shell scripts in the repository. Use @@ -122,7 +122,7 @@ repository has a single installer. For self-hosted model installers, see the Or test a specific script with custom execution modes: ```yaml - - uses: Mresyzz/opsscript-gate@v0.9.2 + - uses: Mresyzz/opsscript-gate@v0.9.4 with: script-path: scripts/install.sh shell: auto @@ -156,7 +156,7 @@ unrelated scripts: with: persist-credentials: false fetch-depth: 0 - - uses: Mresyzz/opsscript-gate@v0.9.2 + - uses: Mresyzz/opsscript-gate@v0.9.4 with: changed-since: ${{ github.event.pull_request.base.sha }} preset: minimal @@ -247,7 +247,7 @@ Use `sarif` when the result should appear in GitHub Code Scanning or another SARIF-compatible viewer. Upload it explicitly with the official upload action: ```yaml -- uses: Mresyzz/opsscript-gate@v0.9.2 +- uses: Mresyzz/opsscript-gate@v0.9.4 with: script-path: scripts/install.sh format: sarif diff --git a/README.zh-CN.md b/README.zh-CN.md index 9e389af..799c015 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -17,9 +17,9 @@ Bash 依赖、包管理器假设和交互式阻塞。它与 ShellCheck 互补。 也可以直接打开 [OpsScript Gate 在线演示](https://mresyzz.github.io/opsscript-gate/),先查看 ShellCheck 与运行时验证的差异,再复制 workflow 到自己的仓库。 -## 当前版本 v0.9.2 +## 当前版本 v0.9.4 -v0.9.2 是当前本地候选版本;如果你要从源码验证当前分支,也可以执行: +v0.9.4 是当前已发布版本;如果你要从源码验证当前分支,也可以执行: ```bash pip install -e . @@ -35,7 +35,7 @@ opsscript-gate run --dry-run opsscript-gate run --format json --output reports/compatibility.json ``` -`init` 生成配置和 GitHub 工作流,不覆盖已有文件。工作流引用 `v0.9.2`。 +`init` 生成配置和 GitHub 工作流,不覆盖已有文件。工作流引用 `v0.9.4`。 预览不需要 Docker;真实运行需要 Python 3.10+ 和可访问的 Linux Docker 引擎。 `opsscript-gate doctor` 可以在真实运行前检查 Python 和 Docker。 @@ -74,7 +74,7 @@ Docker daemon 和可选的项目配置。 - uses: actions/checkout@v7 with: fetch-depth: 0 -- uses: Mresyzz/opsscript-gate@v0.9.2 +- uses: Mresyzz/opsscript-gate@v0.9.4 with: changed-since: ${{ github.event.pull_request.base.sha }} preset: minimal diff --git a/docs/index.html b/docs/index.html index a23278c..3f81c37 100644 --- a/docs/index.html +++ b/docs/index.html @@ -253,7 +253,7 @@ OpsScript Gate - v0.9.2 + v0.9.4 @@ -391,7 +391,7 @@

- OpsScript Gate Runtime (v0.9.2) + OpsScript Gate Runtime (v0.9.4) 1 DISTRO FAILED @@ -560,7 +560,7 @@

steps: - uses: actions/checkout@v4 - name: Validate scripts across distributions - uses: Mresyzz/opsscript-gate@v0.9.2 + uses: Mresyzz/opsscript-gate@v0.9.4 with: script-path: ./install.sh shell: auto @@ -628,7 +628,7 @@