Skip to content

Add Open Source Bounty Engineer - Engineering #280

Add Open Source Bounty Engineer - Engineering

Add Open Source Bounty Engineer - Engineering #280

name: Check Hermes Config Rewrite
# Regression test for the ensure_hermes_plugin_enabled() heredoc bug fixed
# alongside this workflow. Catches two related symptoms:
# 1. Wrong indent on insert (collapses plugins.enabled onto one line as a
# scalar string under any config whose items use a non-default indent).
# 2. Non-idempotent re-runs that silently duplicate the new entry.
# Runs on every PR — small surface area, fast, no deps beyond bash + python3.
on:
pull_request:
push:
branches: [main]
jobs:
check-hermes-config-rewrite:
name: install.sh hermes config rewrite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run regression cases
run: |
chmod +x scripts/check-hermes-config-rewrite.sh
./scripts/check-hermes-config-rewrite.sh