From ff4ffe936483db9e0ade802456161b89fe42e43d Mon Sep 17 00:00:00 2001 From: "H.E. Pennypacker" <115990865+pennypacker-he@users.noreply.github.com> Date: Fri, 3 Jul 2026 22:50:54 +0000 Subject: [PATCH] Update OJS ingress example and lint workflow Replace the old HTTPS mode example with the canonical https-custom ingress mode. Add the required lint-test workflow so branch protection can evaluate the template checks. --- .github/workflows/lint-test.yaml | 25 +++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/lint-test.yaml diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml new file mode 100644 index 0000000..638bf27 --- /dev/null +++ b/.github/workflows/lint-test.yaml @@ -0,0 +1,25 @@ +name: lint-test + +on: + push: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: lint-test-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + lint-test: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + + - name: lint + run: make lint + + - name: test + run: make test diff --git a/README.md b/README.md index f142aec..baa0e31 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ sitectl converge Publish a domain, switch HTTP/TLS mode, configure Let's Encrypt, trust upstream proxies, or tune upload limits with the `ingress` component: ```bash -sitectl set ingress enabled --mode https-default --domain ojs.localhost +sitectl set ingress enabled --mode https-custom --domain ojs.localhost sitectl set ingress enabled --mode https-letsencrypt --domain ojs.example.org --acme-email ops@example.org sitectl set ingress enabled --trusted-ip 203.0.113.10/32 --max-upload-size 2G --upload-timeout 10m sitectl converge