Files
questions/.gitea/workflows/lint-and-reload.yml
T
blandClaude Fable 5.1 c551273fc2
lint-and-reload / lint (push) Successful in 1s
Desks invite members: one form per group the desk may fill
Regenerated from the plan with every existing word lifted back out of
this repo (the diff is additions only): each committee's desk invites
into itself, styret's desk into every group, and each inviting desk
lists the invites it sent (portal_invites, open -> done). Portal
creates the account, the group membership and a one-time credential
link; the desk shows the link to pass on. Needs portal 0.3.40+ on the
instance and KANIDM_API_TOKEN in its env. Lint pinned to iris 0.3.41.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4jrCgLiKKHAEFuZUJjckH
2026-09-23 12:39:01 +02:00

27 lines
888 B
YAML

# Lint on the kasse runner (the portal instance lives there), then
# nudge the running portal to refetch content over local NATS.
name: lint-and-reload
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: fish
steps:
- name: checkout
run: |
rm -rf checkout && git clone --depth 1 "${{ github.server_url }}/${{ github.repository }}.git" checkout
# iris is portal's lint; pin it to the portal release the instance
# runs (v0.3.36 on kasse).
- name: lint
env:
IRIS_RELEASE: v0.3.41
run: |
curl -sfL "https://project.uhhm.no/uhhm/iris/releases/download/$IRIS_RELEASE/iris" -o iris && chmod +x iris
./iris check --path checkout/questions
- name: reload
if: github.event_name == 'push'
run: nats --server nats://127.0.0.1:4222 pub portal.content.reload ""