Skip to content

Commit d5aaa0d

Browse files
committed
Merge remote-tracking branch 'origin/main' into release/0.2.0
2 parents b4b545b + 67872e2 commit d5aaa0d

2 files changed

Lines changed: 10 additions & 29 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,18 @@
1-
# Canonical PyPI publish workflow for hawk-eco Python repos.
1+
# PyPI publish workflow - DISABLED: package is not published anywhere.
2+
# If publishing is needed in the future, re-enable and configure:
3+
# - Add PYPI_API_TOKEN secret at https://github.com/GrayCodeAI/hawk-sdk-python/settings/secrets/actions
4+
# - Or fix OIDC trusted publisher at https://pypi.org/manage/account/publishing/
25
# Triggered by release-please when it pushes a v* tag.
3-
# Source of truth: https://github.com/GrayCodeAI/hawk/blob/main/.shared-templates/workflows/python-release.yml.tmpl
4-
#
5-
# Uses PyPI Trusted Publishing (OIDC) — no API tokens stored in GitHub.
6-
# Configure once at https://pypi.org/manage/account/publishing/
76

87
name: release
98

109
on:
1110
push:
1211
tags: ["v*"]
1312

14-
permissions:
15-
contents: read
16-
id-token: write # required for PyPI Trusted Publishing
13+
permissions: {} # disabled
1714

1815
jobs:
1916
build-and-publish:
2017
runs-on: ubuntu-latest
21-
environment:
22-
name: pypi
23-
url: https://pypi.org/p/hawk-sdk
24-
steps:
25-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26-
27-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
28-
with:
29-
python-version: "3.12"
30-
31-
- name: Install build tooling
32-
run: |
33-
python -m pip install --upgrade pip build
34-
35-
- name: Build sdist + wheel
36-
run: python -m build
37-
38-
- name: Publish to PyPI
39-
uses: pypa/gh-action-pypi-publish@release/v1
40-
with:
41-
packages-dir: dist/
18+
steps: [] # disabled

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ alwaysApply: false
88

99
Official Python client for the Hawk daemon API.
1010

11+
## Development workflow
12+
13+
When starting any new work (feature, fix, refactor, chore), always create a feature branch from `main` first. Never commit directly to `main`. Use branch naming conventions like `feat/<description>`, `fix/<description>`, or `chore/<description>`. Open a PR, ensure CI is green, then merge.
14+
1115
## Build & Test
1216

1317
```bash

0 commit comments

Comments
 (0)