Skip to content

Commit b0195e2

Browse files
facontidavideclaude
andcommitted
chore: add missing SPDX headers; drop stale development CI trigger
number_parse.{hpp,cpp} (pj_base, Apache-2.0) lacked their SPDX-License-Identifier headers -- the dual-license boundary relies on per-file headers, so add them. All four branch-triggered workflows still keyed on the deleted `development` branch; restrict them to `main`. Addresses SUSTAINABILITY.md BLD-4 (the two violating files) and BLD-5. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a746b01 commit b0195e2

6 files changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/linux-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Linux CI
22
on:
33
push:
4-
branches: [development, main]
4+
branches: [main]
55
pull_request:
6-
branches: [development, main]
6+
branches: [main]
77
types: [opened, synchronize, reopened, ready_for_review]
88
workflow_dispatch: {}
99

.github/workflows/macos-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: macOS CI
22
on:
33
push:
4-
branches: [development, main]
4+
branches: [main]
55
pull_request:
6-
branches: [development, main]
6+
branches: [main]
77
types: [opened, synchronize, reopened, ready_for_review]
88
workflow_dispatch: {}
99

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: pre-commit
22
on:
33
push:
4-
branches: [development, main]
4+
branches: [main]
55
pull_request:
6-
branches: [development, main]
6+
branches: [main]
77
types: [opened, synchronize, reopened, ready_for_review]
88
workflow_dispatch: {}
99

.github/workflows/windows-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Windows CI
22
on:
33
push:
4-
branches: [development, main]
4+
branches: [main]
55
pull_request:
6-
branches: [development, main]
6+
branches: [main]
77
types: [opened, synchronize, reopened, ready_for_review]
88
workflow_dispatch: {}
99

pj_base/include/pj_base/number_parse.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#pragma once
2+
// Copyright 2026 Davide Faconti
3+
// SPDX-License-Identifier: Apache-2.0
24

35
#include <charconv>
46
#include <optional>

pj_base/src/number_parse.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2026 Davide Faconti
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
#include "pj_base/number_parse.hpp"
25

36
#include <cerrno>

0 commit comments

Comments
 (0)