Skip to content

Commit eade3ef

Browse files
Merge pull request #143 from FreshCode-Org/chore/repo-polish-jwd
chore: repository hygiene, metadata accuracy, and CI least-privilege pass
2 parents a21e19c + f10cf74 commit eade3ef

31 files changed

Lines changed: 193 additions & 4380 deletions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Documentation issue
3+
about: Report a mistake, gap, or unclear section in the docs, README, or examples
4+
title: '[DOCS] '
5+
labels: documentation
6+
assignees: ''
7+
8+
---
9+
10+
**Where**
11+
Link to the page or file (e.g. a https://freshcode-org.github.io/freshdata/ URL,
12+
`README.md`, or an `examples/` script) and the section heading.
13+
14+
**What is wrong or missing**
15+
A clear description of the problem: incorrect statement, code snippet that
16+
doesn't run, broken link, missing explanation, outdated API, etc.
17+
18+
**Suggested fix (optional)**
19+
If you already know what the text or snippet should say, propose it here —
20+
small doc fixes make great first PRs.

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ concurrency:
1212
group: ci-${{ github.ref }}
1313
cancel-in-progress: true
1414

15+
# Least privilege by default; jobs that need more (nightly alert issue,
16+
# coverage-badge push) declare their own elevated permissions.
17+
permissions:
18+
contents: read
19+
1520
jobs:
1621
quality-fast:
1722
runs-on: ubuntu-latest

‎.github/workflows/fetch-fixtures.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
schedule:
66
- cron: "0 6 * * 1" # weekly Monday 06:00 UTC
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
fetch:
1013
runs-on: ubuntu-latest

‎.github/workflows/nightly-real-model.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- cron: "0 4 * * *"
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
real-model:
1215
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'

‎.github/workflows/plugin-contract.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
push:
99
branches: [main]
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
plugin-contract:
1316
runs-on: ubuntu-latest

‎.github/workflows/reproducibility.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
push:
1111
branches: [main]
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
reproducibility:
1518
runs-on: ubuntu-latest

‎.github/workflows/wheel-size.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
env:
1111
MAX_WHEEL_BYTES: "2000000"
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
wheel-guard:
1518
runs-on: ubuntu-latest

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ htmlcov/
1515
.DS_Store
1616
.ipynb_checkpoints/
1717

18+
# AI-assistant working artifacts (plans, task reports) — never committed
19+
.superpowers/
20+
1821
# MkDocs build output
1922
site/
2023

‎.pre-commit-config.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Run `pre-commit install` after cloning. CI mirrors these checks.
1+
# Run `pre-commit install` after cloning. The ruff and mypy hooks match the
2+
# required CI lane; the hygiene hooks (whitespace, YAML/TOML syntax) are
3+
# pre-commit-only. There is deliberately no formatter hook: the codebase is
4+
# not `ruff format`-clean, and CI does not enforce formatting.
25
repos:
36
- repo: https://github.com/pre-commit/pre-commit-hooks
47
rev: v4.6.0
@@ -16,7 +19,6 @@ repos:
1619
hooks:
1720
- id: ruff
1821
args: [--fix]
19-
- id: ruff-format
2022

2123
- repo: https://github.com/pre-commit/mirrors-mypy
2224
rev: v1.11.2

‎.superpowers/sdd/task-4-report.md‎

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)