hermes-agent/.github/workflows
ethernet 64389a2ce2
fix(ci): js-autofix pushes via PR instead of direct push to main (#65186)
* fix(js): never format package-lock.json

prettier and eslint should never touch package-lock.json. main has a
repo rule requiring team approval when lockfiles change, so an autofix
PR touching it would hang waiting for review.

- Add .prettierignore at repo root
- Add '**/package-lock.json' to eslint shared config ignores

* fix(ci): js-autofix pushes via PR instead of direct push to main

Main now has repository rules requiring pull requests + required status
checks ("All required checks pass"), so the workflow's direct push to
main is rejected with GH013 every time eslint --fix produces changes.

Switch apply-patch to push to a dedicated bot/js-autofix branch, create
or update a PR, and enable auto-merge (squash). The PR auto-merges once
CI passes. If CI fails or main moves, the PR is auto-closed and the
branch deleted — the next run re-applies on the current state.

The two-job security split is preserved:
- generate-patch stays unprivileged (contents: read only) — it runs npm
  on an ephemeral runner with zero push permissions.
- apply-patch (contents: write + pull-requests: write) still never runs
  npm, never installs anything, never executes repo code — it applies
  the trusted patch artifact and delivers it via PR.
2026-07-15 17:19:19 -04:00
..
ci.yml ci: add ci-reviewed label gate for CI-sensitive files 2026-07-16 01:42:02 +05:30
contributor-check.yml ci: refactor paths & clones 2026-06-23 09:30:50 -07:00
deploy-site.yml fix(docs): reuse healthy skills index during Pages deploys (#45616) 2026-06-13 06:46:07 -07:00
docker-lint.yml change(ci): docker-publish.yml -> docker.yml 2026-06-26 19:15:18 -07:00
docker.yml security(ci): pass untrusted refs through env, not run: interpolation 2026-07-03 12:44:30 -04:00
docs-site-checks.yml ci: refactor paths & clones 2026-06-23 09:30:50 -07:00
history-check.yml ci: refactor paths & clones 2026-06-23 09:30:50 -07:00
js-autofix.yml fix(ci): js-autofix pushes via PR instead of direct push to main (#65186) 2026-07-15 17:19:19 -04:00
js-tests.yml fix(js ci): don't ignore native deps anymore 2026-07-15 16:28:54 -04:00
lint.yml ci: add desktop autofix-on-merge with two-job security split 2026-07-16 01:42:02 +05:30
osv-scanner.yml ci: refactor paths & clones 2026-06-23 09:30:50 -07:00
skills-index-freshness.yml feat(skills-hub): health checks, freshness badge, and a watchdog cron (#32345) 2026-05-25 23:10:45 -07:00
skills-index.yml change(ci): upload-artifact from v4 -> v7 2026-06-26 19:15:18 -07:00
supply-chain-audit.yml ci: refactor paths & clones 2026-06-23 09:30:50 -07:00
tests.yml change(ci): slice files in matrix job 2026-06-26 19:15:18 -07:00
upload_to_pypi.yml change(ci): upload-artifact from v4 -> v7 2026-06-26 19:15:18 -07:00
uv-lockfile-check.yml change(ci): update all UV installs 2026-06-26 19:15:18 -07:00