github-rest-api 0.51.1__tar.gz → 0.52.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.github/workflows/claude.yaml +1 -1
  2. github_rest_api-0.51.1/.github/workflows/create_pr_dev_to_main.yaml → github_rest_api-0.52.0/.github/workflows/create-pr-dev-to-main.yaml +1 -1
  3. github_rest_api-0.51.1/.github/workflows/create_pr_to_dev.yaml → github_rest_api-0.52.0/.github/workflows/create-pr-to-dev.yaml +1 -1
  4. github_rest_api-0.51.1/.github/workflows/create_pr_to_main.yaml → github_rest_api-0.52.0/.github/workflows/create-pr-to-main.yaml +1 -1
  5. github_rest_api-0.51.1/.github/workflows/auto_merge_pull_request.yaml → github_rest_api-0.52.0/.github/workflows/merge-pr.yaml +4 -4
  6. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.github/workflows/pr-workflow.yaml +1 -1
  7. github_rest_api-0.51.1/.github/workflows/remove_branch.yaml → github_rest_api-0.52.0/.github/workflows/remove-branch.yaml +1 -1
  8. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/PKG-INFO +2 -2
  9. github_rest_api-0.52.0/README.md +3 -0
  10. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/create_github_repo.py +1 -1
  11. github_rest_api-0.52.0/github_rest_api/scripts/lint_repo.py +791 -0
  12. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/pyproject.toml +2 -1
  13. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_create_github_repo.py +2 -2
  14. github_rest_api-0.52.0/tests/test_lint_repo.py +910 -0
  15. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/uv.lock +1 -1
  16. github_rest_api-0.51.1/README.md +0 -3
  17. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.devcontainer/devcontainer.json +0 -0
  18. /github_rest_api-0.51.1/.github/workflows/check_workflow_template.yaml → /github_rest_api-0.52.0/.github/workflows/check-workflow-template.yaml +0 -0
  19. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.github/workflows/release.yaml +0 -0
  20. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.gitignore +0 -0
  21. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/AGENTS.md +0 -0
  22. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/CLAUDE.md +0 -0
  23. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/__init__.py +0 -0
  24. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/github.py +0 -0
  25. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/pr_content.py +0 -0
  26. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/__init__.py +0 -0
  27. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/__init__.py +0 -0
  28. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/benchmark.py +0 -0
  29. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/profiling.py +0 -0
  30. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/utils.py +0 -0
  31. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/__init__.py +0 -0
  32. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/build_container_images.py +0 -0
  33. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/config_container.py +0 -0
  34. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/update_version_containerfile.py +0 -0
  35. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/__init__.py +0 -0
  36. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/auto_merge_pull_request.py +0 -0
  37. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/create_pull_request.py +0 -0
  38. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/release_on_github.py +0 -0
  39. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/remove_branch.py +0 -0
  40. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/upload_image_to_issue.py +0 -0
  41. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/utils.py +0 -0
  42. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/utils.py +0 -0
  43. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/memory/MEMORY.md +0 -0
  44. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/memory/feedback_test_runner.md +0 -0
  45. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/__init__.py +0 -0
  46. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_auto_merge_pull_request.py +0 -0
  47. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_build_container_images.py +0 -0
  48. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_create_pull_request.py +0 -0
  49. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_github.py +0 -0
  50. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_pr_content.py +0 -0
  51. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_release_on_github.py +0 -0
  52. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_upload_image_to_issue.py +0 -0
  53. {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_utils.py +0 -0
@@ -23,5 +23,5 @@ jobs:
23
23
  issues: read
24
24
  pull-requests: read
25
25
  id-token: write
26
- uses: legendu-net/.github/.github/workflows/claude.yml@main
26
+ uses: legendu-net/.github/.github/workflows/claude.yaml@main
27
27
  secrets: inherit
@@ -5,5 +5,5 @@ on:
5
5
  - dev
6
6
  jobs:
7
7
  create_pr_dev_to_main:
8
- uses: legendu-net/.github/.github/workflows/create_pr_dev_to_main.yaml@main
8
+ uses: legendu-net/.github/.github/workflows/create-pr-dev-to-main.yaml@main
9
9
  secrets: inherit
@@ -7,5 +7,5 @@ on:
7
7
  - gh-pages*
8
8
  jobs:
9
9
  create_pr_to_dev:
10
- uses: legendu-net/.github/.github/workflows/create_pr_to_dev.yaml@main
10
+ uses: legendu-net/.github/.github/workflows/create-pr-to-dev.yaml@main
11
11
  secrets: inherit
@@ -6,5 +6,5 @@ on:
6
6
  - _**
7
7
  jobs:
8
8
  create_pr_main:
9
- uses: legendu-net/.github/.github/workflows/create_pr_to_main.yaml@main
9
+ uses: legendu-net/.github/.github/workflows/create-pr-to-main.yaml@main
10
10
  secrets: inherit
@@ -1,4 +1,4 @@
1
- name: Auto Merge PR
1
+ name: Merge PR
2
2
  on:
3
3
  # The Claude review runs with `track_progress`, which creates its tracking
4
4
  # comment when the review *starts* and then edits that same comment as the
@@ -47,10 +47,10 @@ concurrency:
47
47
  # and the newest run always sees the freshest state. Do not cancel in
48
48
  # progress: a run cancelled midway through the merge API call is worse than a
49
49
  # redundant one.
50
- group: auto-merge-pull-request
50
+ group: merge-pull-request
51
51
  cancel-in-progress: false
52
52
  jobs:
53
- auto_merge_pull_request:
53
+ merge_pull_request:
54
54
  # A triggering workflow that failed, was cancelled or was skipped left the
55
55
  # PR unmergeable or wrote no marker, so there is nothing new to act on.
56
56
  # This job checks out no PR code, so the elevated `workflow_run` context is
@@ -58,7 +58,7 @@ jobs:
58
58
  if: |
59
59
  github.event_name != 'workflow_run'
60
60
  || github.event.workflow_run.conclusion == 'success'
61
- uses: legendu-net/.github/.github/workflows/auto_merge_pull_request.yaml@main
61
+ uses: legendu-net/.github/.github/workflows/merge-pr.yaml@main
62
62
  with:
63
63
  dry_run: ${{ inputs.dry_run || false }}
64
64
  secrets: inherit
@@ -26,7 +26,7 @@ jobs:
26
26
  issues: write
27
27
  pull-requests: write
28
28
  id-token: write
29
- uses: legendu-net/.github/.github/workflows/claude-code-review.yml@main
29
+ uses: legendu-net/.github/.github/workflows/claude-code-review.yaml@main
30
30
  with:
31
31
  pr_number: ${{ github.event.pull_request.number }}
32
32
  draft: ${{ github.event.pull_request.draft }}
@@ -5,5 +5,5 @@ on:
5
5
  timezone: 'America/Los_Angeles'
6
6
  jobs:
7
7
  remove_branch:
8
- uses: legendu-net/.github/.github/workflows/remove_branch.yaml@main
8
+ uses: legendu-net/.github/.github/workflows/remove-branch.yaml@main
9
9
  secrets: inherit
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: github-rest-api
3
- Version: 0.51.1
3
+ Version: 0.52.0
4
4
  Summary: Simple wrapper of GitHub REST APIs.
5
5
  Author-email: Ben Du <longendu@yahoo.com>
6
6
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -19,6 +19,6 @@ Provides-Extra: ai
19
19
  Requires-Dist: litellm>=1.50; extra == 'ai'
20
20
  Description-Content-Type: text/markdown
21
21
 
22
- # GitHub REST APIs | [@GitHub](https://github.com/legendu-net/github_rest_api) | [@PyPI](https://pypi.org/project/github-rest-api/)
22
+ # GitHub REST APIs | [@GitHub](https://github.com/legendu-net/github_rest_api) | [@PyPI](https://pypi.org/project/github-rest-api/)
23
23
 
24
24
  Simple wrapper of GitHub REST APIs with a focus on making GitHub Actions automation easy.
@@ -0,0 +1,3 @@
1
+ # GitHub REST APIs | [@GitHub](https://github.com/legendu-net/github_rest_api) | [@PyPI](https://pypi.org/project/github-rest-api/)
2
+
3
+ Simple wrapper of GitHub REST APIs with a focus on making GitHub Actions automation easy.
@@ -19,7 +19,7 @@ logger = logging.getLogger(__name__)
19
19
 
20
20
  # Workflows that configure this repository itself rather than the repositories
21
21
  # created from these templates.
22
- _REPO_ONLY_WORKFLOWS = frozenset({"check_workflow_template.yaml"})
22
+ _REPO_ONLY_WORKFLOWS = frozenset({"check-workflow-template.yaml"})
23
23
 
24
24
  # The default GitHub repo to copy workflow templates from.
25
25
  DEFAULT_WORKFLOWS_REPO = "legendu-net/github_rest_api"