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.
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.github/workflows/claude.yaml +1 -1
- 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
- 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
- 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
- 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
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.github/workflows/pr-workflow.yaml +1 -1
- github_rest_api-0.51.1/.github/workflows/remove_branch.yaml → github_rest_api-0.52.0/.github/workflows/remove-branch.yaml +1 -1
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/PKG-INFO +2 -2
- github_rest_api-0.52.0/README.md +3 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/create_github_repo.py +1 -1
- github_rest_api-0.52.0/github_rest_api/scripts/lint_repo.py +791 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/pyproject.toml +2 -1
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_create_github_repo.py +2 -2
- github_rest_api-0.52.0/tests/test_lint_repo.py +910 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/uv.lock +1 -1
- github_rest_api-0.51.1/README.md +0 -3
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.devcontainer/devcontainer.json +0 -0
- /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
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.github/workflows/release.yaml +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/.gitignore +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/AGENTS.md +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/CLAUDE.md +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/__init__.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/github.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/pr_content.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/__init__.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/__init__.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/benchmark.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/profiling.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/cargo/utils.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/__init__.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/build_container_images.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/config_container.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/container/update_version_containerfile.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/__init__.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/auto_merge_pull_request.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/create_pull_request.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/release_on_github.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/remove_branch.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/github/upload_image_to_issue.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/scripts/utils.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/github_rest_api/utils.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/memory/MEMORY.md +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/memory/feedback_test_runner.md +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/__init__.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_auto_merge_pull_request.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_build_container_images.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_create_pull_request.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_github.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_pr_content.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_release_on_github.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_upload_image_to_issue.py +0 -0
- {github_rest_api-0.51.1 → github_rest_api-0.52.0}/tests/test_utils.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
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:
|
|
50
|
+
group: merge-pull-request
|
|
51
51
|
cancel-in-progress: false
|
|
52
52
|
jobs:
|
|
53
|
-
|
|
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/
|
|
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.
|
|
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 }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: github-rest-api
|
|
3
|
-
Version: 0.
|
|
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
|
|
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.
|
|
@@ -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({"
|
|
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"
|