GitHub Community and Automation
Overview
This doc owns all repository support files under .github/**: issue intake templates, GitHub Actions automation, and static assets used by GitHub-facing repository pages. Route any change whose path starts with .github/ here, including new workflows, renamed templates, or image/banner updates.
Issue creation is driven by three Markdown templates in .github/ISSUE_TEMPLATE/. .github/…/bug_report.md collects a bug description, reproduction steps, expected behavior, screenshots, device details, and extra context, and its front matter assigns new bug reports to wendygaoyuan without applying default labels. .github/…/feature_request.md asks whether the request concerns the website or usage, then gathers problem and solution statements; it assigns xiaochunjimmy and also leaves labels empty. .github/…/icon-request.md is the icon-specific community intake path for Remix Icons: it asks requesters to search for duplicates first, then records icon name, tags, use case, and screenshots, with xiaochunjimmy as assignee and no default label. Changes to these files alter the GitHub issue UI and the initial triage ownership for new issues.
Publishing automation lives in .github/…/npm-publish.yml. The Npm Publish workflow runs when a GitHub release is published and can also be started manually with workflow_dispatch. It grants id-token: write and contents: read, checks out the master ref explicitly, configures Node 24 against https://registry.npmjs.org, then runs npm publish. The published package metadata and npm file allowlist come from the root package.json, while the workflow itself contains no build or test step and no explicit npm auth environment variable.
Static repository artwork is stored in .github/files/. .github/…/preview.svg is a large icon-grid preview, .github/…/logo-github.svg is the repository/GitHub logo artwork, .github/…/streamline.svg is a Streamline-branded banner, and .github/…/birthday2023.svg, .github/…/birthday2024.svg, and .github/…/birthday2025.svg are yearly birthday/anniversary banners. These SVGs do not execute automation, but their filenames are likely referenced from GitHub-rendered documentation or release/community pages, so renames are externally visible even when no workflow changes.
Coupling
- If .github/…/npm-publish.yml changes the release trigger, checkout ref, Node version, registry, or
npm publishcommand, also verify the root package.json package name, version,filesallowlist, and repository metadata still describe the artifact being published; the workflow publishes directly frommasteron release events and has no local build step to reconcile mismatches. - If npm authentication is changed in .github/…/npm-publish.yml, verify it matches the repository's npm trusted publishing or token setup. The workflow currently requests
id-token: writebut does not passNODE_AUTH_TOKEN, so replacing trusted publishing with token-based publishing requires an explicit secret/environment update. - If any .github/…/*.md front matter changes assignees or labels, verify the repository's triage expectations still match the template text. GitHub applies those fields before maintainers read the issue body, so a stale assignee silently routes new issues to the wrong owner.
- If .github/…/*.svg filenames change, update any Markdown or GitHub page that embeds those exact paths. GitHub asset links are path-based, and these static files have no redirect or manifest inside
.github/.
Risks
- .github/…/npm-publish.yml checks out
ref: mastereven when the workflow is triggered by a published release. If a release points at a commit that is not exactly currentmaster,npm publishcan publish the package contents frommasterrather than the release tag. - .github/…/npm-publish.yml runs
npm publishwithout an install, build, or test step. If generated package contents are missing or stale in the checked-out tree, the release workflow will still attempt to publish whatever the root package.json includes.