Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Checks every link in the org profile and the default community files on each pull request that touches them.
# Org rules: pull_request and workflow_dispatch only (no push, no schedule). Hosted runner on purpose: this repo is
# public and the org's self-hosted runners do not take public-repo jobs.
name: Link check

on:
pull_request:
paths:
- "**/*.md"
- ".github/workflows/links.yml"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
links:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# Org policy allows only GitHub-owned and a few listed actions, so the check is a short inline script.
- name: Check every link in the Markdown files
shell: python
run: |
import glob, os, re, sys, urllib.request
files = glob.glob("*.md") + glob.glob("profile/*.md")
bad = []
for f in files:
text = open(f, encoding="utf-8").read()
for url in sorted(set(re.findall(r'\]\(([^)\s]+)\)|src="([^"]+)"', text))):
url = url[0] or url[1]
if url.startswith(("#", "mailto:")):
continue
if url.startswith(("http://", "https://")):
req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0 link-check"})
for attempt in range(3):
try:
with urllib.request.urlopen(req, timeout=20) as r:
code = r.status
break
except Exception as e:
code = getattr(e, "code", str(e))
if code != 200:
bad.append(f"{f}: {url} -> {code}")
elif not os.path.exists(os.path.join(os.path.dirname(f), url.split("#")[0])):
bad.append(f"{f}: {url} -> missing file")
print(f"{len(files)} files checked")
for b in bad:
print("FAIL", b)
sys.exit(1 if bad else 0)
10 changes: 8 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ Verify: none. This repo holds only Markdown, YAML and 1 image; check YAML forms
The Solarity-AI organisation's default community files. Every repository without its own copy uses them, so a change
here changes every such repository at once.

**Edits here change every repo's defaults at once:** treat each change as an org-wide change, not a normal repo edit.

## What lives here

- `PULL_REQUEST_TEMPLATE.md`: the default pull request template (What changed, `Fixes #`, How verified with the
command and its result).
- `ISSUE_TEMPLATE/`: the default issue forms (`bug.yml`, `feature.yml`) and `config.yml`. A repository with its own
- `ISSUE_TEMPLATE/`: the default issue forms (`bug.yml`, `feature.yml`, `question.yml`) and `config.yml` (blank
issues off, contact links). A repository with its own
`.github/ISSUE_TEMPLATE/` folder uses only its own forms.
- `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `SECURITY.md`: the default guides.
- `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `SECURITY.md`, `SUPPORT.md`: the default guides.
- `workflow-templates/`: org starter workflows offered on every repo's "New workflow" page (`node-ci.yml` calls the
shared Node test job in `ci-platform` at `@v1`; each template needs a matching `.properties.json`).
- `.github/workflows/links.yml`: checks the links in every Markdown file on pull requests (hosted runner, public repo).
- `profile/README.md`: the public organisation profile page; it is public, so no private repo names, people or numbers.

## Rules
Expand Down
8 changes: 7 additions & 1 deletion ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
blank_issues_enabled: true
blank_issues_enabled: false
contact_links:
- name: Report a security vulnerability
url: https://github.com/Solarity-AI/.github/blob/main/SECURITY.md
about: Report security issues privately. Please don't open a public issue.
- name: Get help
url: https://github.com/Solarity-AI/.github/blob/main/SUPPORT.md
about: Where to ask questions, report bugs or reach the team.
- name: Press, partnerships and the apps
url: https://solarityai.com/
about: Visit the website, or email ata.turhan@solarityai.com.
21 changes: 21 additions & 0 deletions ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Question
description: Ask how something works or how to use it.
labels: [question]
body:
- type: textarea
id: question
attributes:
label: Question
description: What you want to know.
validations:
required: true
- type: textarea
id: tried
attributes:
label: What you tried
description: Steps, commands or settings you already tried, and what happened.
- type: input
id: environment
attributes:
label: Environment
description: Operating system and version of the tool, if it matters.
16 changes: 16 additions & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Getting help

This page applies to every Solarity-AI repository that doesn't have its own `SUPPORT.md`.

## Where to ask

- **A question about using a tool:** open an issue with the **Question** form on that repository.
- **A bug:** open an issue with the **Bug report** form on that repository, with the steps to reproduce.
- **An idea:** open an issue with the **Feature or improvement** form.
- **A security problem:** don't open a public issue; follow the [security policy](SECURITY.md).
- **Anything else** (press, partnerships, the apps or the SaaS products): email
[ata.turhan@solarityai.com](mailto:ata.turhan@solarityai.com) or visit [solarityai.com](https://solarityai.com/).

## What to expect

We read every issue and email, and reply as soon as we can. Issues are the fastest route for anything about the code.
9 changes: 8 additions & 1 deletion profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@
- [Management Max](https://managementmax.solarityai.com/): governed weekly metrics for mobile app companies
- [Marketing Max](https://marketingmax.solarityai.com/): your next Reel, made from one that already worked

## Free tools (public repos)

- [ai-usage-taskbar-widgets](https://github.com/Solarity-AI/ai-usage-taskbar-widgets): see how much of your weekly Claude and Codex allowance is used, on the Windows taskbar or the macOS menu bar
- [hw-widget](https://github.com/Solarity-AI/hw-widget): temperature, CPU, memory and GPU at a glance on Windows, GNOME and macOS
- [llm-iq-index](https://github.com/Solarity-AI/llm-iq-index): estimated IQ scores for the top closed and open-weight LLMs ([live site](https://solarity-ai.github.io/llm-iq-index/))
- [claude-enter-newline](https://github.com/Solarity-AI/claude-enter-newline): Enter adds a new line and Ctrl/⌘+Enter sends, in the Claude desktop app and AI chats in Chrome
- [public-resources](https://github.com/Solarity-AI/public-resources): brand assets, press kit and one-pagers

## Links

- Website: [solarityai.com](https://solarityai.com/?utm_source=github&utm_medium=org-profile&utm_campaign=profile)
- Brand assets, press kit, and one-pagers: [public-resources](https://github.com/Solarity-AI/public-resources)
- Careers: [solarityai.com/careers](https://solarityai.com/careers/?utm_source=github&utm_medium=org-profile&utm_campaign=profile)
- Contact: [ata.turhan@solarityai.com](mailto:ata.turhan@solarityai.com)
7 changes: 7 additions & 0 deletions workflow-templates/node-ci.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Solarity Node CI",
"description": "Runs npm test through the shared ci-platform job on pull requests, on the org's self-hosted runners.",
"iconName": "octicon checklist",
"categories": ["JavaScript", "TypeScript", "Node"],
"filePatterns": ["package.json$"]
}
24 changes: 24 additions & 0 deletions workflow-templates/node-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Calls the shared Node test job in Solarity-AI/ci-platform on the org's self-hosted runners (no paid minutes).
# Org rules: pull_request with paths and workflow_dispatch only (no push, no schedule). Private repos only: a public
# repo can't call a private repo's reusable workflow, so public repos use a hosted runner instead.
name: CI

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths: ["src/**", "tests/**", "package.json", "package-lock.json", ".nvmrc", ".github/workflows/**"]
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
uses: Solarity-AI/ci-platform/.github/workflows/node-test.yml@v1
with:
test-command: npm test