Skip to content

ci: qualify both nginx config check names with their app - #156

Merged
rubenhensen merged 1 commit into
mainfrom
ci/rename-nginx-checks
Jul 30, 2026
Merged

ci: qualify both nginx config check names with their app#156
rubenhensen merged 1 commit into
mainfrom
ci/rename-nginx-checks

Conversation

@rubenhensen

Copy link
Copy Markdown
Contributor

Follow-up to #155. apps/outlook-addon and apps/website each have a job named nginx config test, and a required status check is matched by name across the whole repository — so branch protection could not tell them apart. Both were left out of the required set in #155 for that reason; this makes them requireable.

  • nginx config testnginx config test (outlook-addon) — runs nginx -t against apps/outlook-addon/nginx/default.conf inside nginx:1.27-alpine
  • nginx config testnginx config test (website) — parses docker/nginx.dev.conf and docker/default.conf.template with crossplane

Only the display name: changes. Both job ids stay nginx, so outlook-addon.yml's needs: [check, test, urls, nginx] is untouched.

The sharp edge, recorded in a comment on both jobs so neither gets "simplified" back: with a shared name, requiring it covers both copies, and deleting either job leaves the name still reporting from the other. The check would look alive while covering half of what you assume.

Both names go into the ruleset once this merges, bringing the required set to 20.

actionlint clean on both files — the three shellcheck findings it reports in website.yml are pre-existing and identical on unmodified main.

Part of encryption4all/postguard#247.

apps/outlook-addon and apps/website each had a job named `nginx config test`.
A required status check is matched by name across the whole repository, so the
two were indistinguishable to branch protection: requiring the name would cover
both copies, and deleting either job would leave the name still reporting from
the other — a gate that looks alive while covering half of what it names. Both
were therefore left out of the required set added in #155.

Only the display name changes. Both job ids stay `nginx`, so outlook-addon.yml's
`needs: [check, test, urls, nginx]` still resolves.
@rubenhensen
rubenhensen merged commit 15a42d6 into main Jul 30, 2026
30 checks passed
@rubenhensen
rubenhensen deleted the ci/rename-nginx-checks branch July 30, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant