Skip to content

Commit 9d084f4

Browse files
OmarAlJarrahclaude
andcommitted
chore: harden CI, add code of conduct, link community docs
- Bump CI actions (checkout v6, setup-uv v8) and fold Python setup into setup-uv; add a least-privilege contents:read permissions block. - Add CODE_OF_CONDUCT.md (Contributor Covenant 2.1). - Link CONTRIBUTING/SECURITY/CODE_OF_CONDUCT from the README. - Add the openapi keyword to dexpace-sdk-core. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 8ae6e17 commit 9d084f4

4 files changed

Lines changed: 55 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
test:
1518
name: test (Python ${{ matrix.python-version }})
@@ -20,17 +23,13 @@ jobs:
2023
python-version: ["3.12", "3.13", "3.14"]
2124
steps:
2225
- name: Checkout
23-
uses: actions/checkout@v4
24-
25-
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v5
27-
with:
28-
python-version: ${{ matrix.python-version }}
26+
uses: actions/checkout@v6
2927

3028
- name: Install uv
31-
uses: astral-sh/setup-uv@v3
29+
uses: astral-sh/setup-uv@v8
3230
with:
3331
enable-cache: true
32+
python-version: ${{ matrix.python-version }}
3433

3534
- name: Sync workspace
3635
run: uv sync

CODE_OF_CONDUCT.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Code of Conduct
2+
3+
## Our pledge
4+
5+
We as members, contributors, and maintainers pledge to make participation in
6+
this project a harassment-free experience for everyone, regardless of age,
7+
body size, visible or invisible disability, ethnicity, sex characteristics,
8+
gender identity and expression, level of experience, education, socio-economic
9+
status, nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
## Our standards
13+
14+
Examples of behaviour that contributes to a positive environment:
15+
16+
- Showing empathy and kindness toward other people
17+
- Being respectful of differing opinions, viewpoints, and experiences
18+
- Giving and gracefully accepting constructive feedback
19+
- Focusing on what is best for the community
20+
21+
Examples of unacceptable behaviour:
22+
23+
- Trolling, insulting or derogatory comments, and personal or political attacks
24+
- Public or private harassment
25+
- Publishing others' private information without explicit permission
26+
- Other conduct which could reasonably be considered inappropriate in a
27+
professional setting
28+
29+
## Enforcement
30+
31+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be
32+
reported to the maintainers at
33+
[o.mazari.om63@gmail.com](mailto:o.mazari.om63@gmail.com). All complaints will
34+
be reviewed and investigated promptly and fairly. Maintainers are obligated to
35+
respect the privacy and security of the reporter of any incident.
36+
37+
## Attribution
38+
39+
This Code of Conduct is adapted from the
40+
[Contributor Covenant](https://www.contributor-covenant.org), version 2.1.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,14 @@ Documented in [`CLAUDE.md`](CLAUDE.md). The short version:
244244

245245
## Contributing
246246

247-
External pull requests are welcome. Run the gates above before opening
248-
one, and follow the conventions in [`CLAUDE.md`](CLAUDE.md).
247+
External pull requests are welcome. See [`CONTRIBUTING.md`](CONTRIBUTING.md)
248+
for setup, the quality gates, and commit conventions, and
249+
[`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md) for community expectations.
250+
251+
## Security
252+
253+
To report a vulnerability, follow [`SECURITY.md`](SECURITY.md) — please do
254+
not open a public issue.
249255

250256
## License
251257

packages/dexpace-sdk-core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ requires-python = ">=3.12"
1111
license = "MIT"
1212
license-files = ["LICENSE.md"]
1313
authors = [{ name = "Omar Aljarrah", email = "o.mazari.om63@gmail.com" }]
14-
keywords = ["sdk", "http", "client", "toolkit", "pipeline"]
14+
keywords = ["sdk", "http", "client", "toolkit", "pipeline", "openapi"]
1515
classifiers = [
1616
"Development Status :: 3 - Alpha",
1717
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)