3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-22 23:15:51 +00:00
z3/.github/workflows
Copilot 5a03a73685
Allow OTP input for WebAssembly npm publish workflow (#10156)
The `WebAssembly Publish` Actions job failed at `npm publish` with
`EOTP` because the workflow had no path to supply npm one-time passwords
for OTP-protected accounts. This change adds secure OTP input wiring for
manual publish runs while preserving the existing token-based flow.

- **Workflow dispatch input**
- Added optional `workflow_dispatch` input `npm_otp` in
`.github/workflows/wasm-release.yml`.

- **Secure OTP handling**
- Added a dedicated masking step so provided OTP values are redacted in
logs.
- Routed OTP to npm via `NPM_CONFIG_OTP` in the publish step
environment.

- **Publish step behavior**
- Kept publish command as `npm publish`; npm now consumes OTP
automatically when provided through env.

```yaml
on:
  workflow_dispatch:
    inputs:
      npm_otp:
        description: "One-time password for npm publish (optional)"
        required: false
        type: string

# ...

- name: Mask npm OTP
  if: ${{ github.event.inputs.npm_otp != '' }}
  run: echo "::add-mask::${{ github.event.inputs.npm_otp }}"

- name: Publish
  run: npm publish
  env:
    NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
    NPM_CONFIG_OTP: ${{ github.event.inputs.npm_otp }}
```

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-17 10:55:05 -07:00
..
shared Upgrade agentic workflows to gh-aw v0.36.0 (#8122) 2026-01-08 11:50:35 -08:00
a3-python.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
a3-python.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
academic-citation-tracker.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
academic-citation-tracker.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
agentics-maintenance.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
android-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
api-coherence-checker.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
api-coherence-checker.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
build-warning-fixer.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
build-warning-fixer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
build-z3-cache.yml Bump actions/cache from 6.0.0 to 6.1.0 (#10023) 2026-07-03 13:18:39 -07:00
ci.yml Bump actions/setup-go from 6 to 7 (#10150) 2026-07-16 15:37:12 -07:00
code-conventions-analyzer.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
code-conventions-analyzer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
code-simplifier.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
code-simplifier.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
compare-stats-anomaly-reporter.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
compare-stats-anomaly-reporter.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
copilot-setup-steps.yml update aw to current version 2026-01-08 18:15:03 +00:00
coverage.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
cross-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
csa-analysis.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
csa-analysis.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
docs.yml Bump actions/setup-node from 6 to 7 (#10148) 2026-07-16 15:37:25 -07:00
fstar-master-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
issue-backlog-processor.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
issue-backlog-processor.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
mark-prs-ready-for-review.yml Bump actions/github-script from 8.0.0 to 9.0.0 (#9296) 2026-04-19 16:49:03 +02:00
memory-safety-report.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
memory-safety-report.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
memory-safety.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
msvc-static-build-clang-cl.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
msvc-static-build.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
nightly-validation.yml Bump actions/setup-dotnet from 5 to 6 (#10147) 2026-07-16 15:37:51 -07:00
nightly.yml update version 2026-07-16 15:39:15 -07:00
nuget-build.yml update version 2026-07-16 15:39:15 -07:00
ocaml.yaml opt: validate strict optimization optima faithfully with delta-rational bounds (#10059) 2026-07-09 10:39:23 -07:00
ostrich-benchmark.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
ostrich-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
pyodide-pypi.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
qf-s-benchmark.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
qf-s-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
release-notes-updater.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
release-notes-updater.md Fix release-notes-updater: add copilot-requests: write permission (#10116) 2026-07-13 17:13:31 -07:00
release.yml update version 2026-07-16 15:39:15 -07:00
smtlib-benchmark-finder.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
smtlib-benchmark-finder.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
specbot-crash-analyzer.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
specbot-crash-analyzer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
tactic-to-simplifier.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
tactic-to-simplifier.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
tptp-benchmark.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
tptp-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
wasm-release.yml Allow OTP input for WebAssembly npm publish workflow (#10156) 2026-07-17 10:55:05 -07:00
wasm.yml wasm: pin Node.js to v22 instead of lts/* to avoid manifest fetch failures (#10151) 2026-07-16 17:34:14 -07:00
Windows.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
wip.yml Bump actions/checkout from 6.0.2 to 7.0.0 (#9913) 2026-06-20 12:14:49 -06:00
workflow-suggestion-agent.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
workflow-suggestion-agent.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
zipt-code-reviewer.lock.yml Bump actions/cache/save from 5.0.5 to 6.1.0 (#10149) 2026-07-16 15:38:05 -07:00
zipt-code-reviewer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00