Skip to content

Commit 52a90dc

Browse files
chore: add missing tooling ( gitattributes CI) (#4)
Refs hyperpolymath/standards#102
1 parent 40b8697 commit 52a90dc

2 files changed

Lines changed: 92 additions & 0 deletions

File tree

.gitattributes

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# RSR-compliant .gitattributes
3+
4+
* text=auto eol=lf
5+
6+
# Source
7+
*.rs text eol=lf diff=rust
8+
*.ex text eol=lf diff=elixir
9+
*.exs text eol=lf diff=elixir
10+
*.jl text eol=lf
11+
*.res text eol=lf
12+
*.resi text eol=lf
13+
*.ada text eol=lf diff=ada
14+
*.adb text eol=lf diff=ada
15+
*.ads text eol=lf diff=ada
16+
*.hs text eol=lf
17+
*.chpl text eol=lf
18+
*.scm text eol=lf
19+
*.a2ml text eol=lf linguist-language=TOML
20+
*.ncl text eol=lf
21+
*.nix text eol=lf
22+
*.zig text eol=lf
23+
24+
# Docs
25+
*.md text eol=lf diff=markdown
26+
*.adoc text eol=lf
27+
*.txt text eol=lf
28+
29+
# Data
30+
*.json text eol=lf
31+
*.yaml text eol=lf
32+
*.yml text eol=lf
33+
*.toml text eol=lf
34+
35+
# Config
36+
.gitignore text eol=lf
37+
.gitattributes text eol=lf
38+
.editorconfig text eol=lf
39+
.tool-versions text eol=lf
40+
justfile text eol=lf
41+
Makefile text eol=lf
42+
Containerfile text eol=lf
43+
44+
# Scripts
45+
*.sh text eol=lf
46+
47+
# Binary
48+
*.png binary
49+
*.jpg binary
50+
*.gif binary
51+
*.pdf binary
52+
*.woff2 binary
53+
*.zip binary
54+
*.gz binary
55+
56+
# Lock files
57+
Cargo.lock text eol=lf -diff
58+
flake.lock text eol=lf -diff

.github/workflows/governance.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# governance.yml — single wrapper calling the shared estate governance bundle
3+
# in hyperpolymath/standards instead of carrying per-repo copies.
4+
#
5+
# Replaces the per-repo governance scaffolding removed in the same commit:
6+
# quality.yml, guix-nix-policy.yml, npm-bun-blocker.yml, ts-blocker.yml,
7+
# security-policy.yml, rsr-antipattern.yml, wellknown-enforcement.yml,
8+
# workflow-linter.yml
9+
#
10+
# Load-bearing build/security workflows stay standalone in the repo
11+
# (rust-ci, codeql, dependabot, release, scan/mirror/pages plumbing).
12+
13+
name: Governance
14+
15+
on:
16+
push:
17+
branches: [main, master]
18+
pull_request:
19+
workflow_dispatch:
20+
21+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
22+
# updates do not pile up queued runs against the shared account-wide
23+
# Actions concurrency pool. Applied only to read-only check workflows
24+
# (no publish/mutation), so cancelling a superseded run is always safe.
25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.ref }}
27+
cancel-in-progress: true
28+
29+
permissions:
30+
contents: read
31+
32+
jobs:
33+
governance:
34+
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@main

0 commit comments

Comments
 (0)