imbi-plugin-github 2.62.0__py3-none-any.whl → 2.63.0__py3-none-any.whl

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.
@@ -58,22 +58,26 @@ from imbi.plugins.github.deployment import (
58
58
 
59
59
  LOGGER = logging.getLogger(__name__)
60
60
 
61
+ _GITHUB_READ = {
62
+ 'actions': 'read',
63
+ 'contents': 'read',
64
+ 'issues': 'read',
65
+ 'pull_requests': 'read',
66
+ }
67
+
61
68
  #: The token permissions of each purpose. The App's own permissions are
62
69
  #: the upper limit: GitHub refuses a request for more (422).
63
70
  PURPOSE_PERMISSIONS: dict[str, dict[str, str]] = {
64
71
  'workspace_checkout': {'contents': 'read'},
65
72
  'marketplace_fetch': {'contents': 'read'},
66
- 'github_read': {
67
- 'actions': 'read',
68
- 'contents': 'read',
69
- 'issues': 'read',
70
- 'pull_requests': 'read',
71
- },
73
+ 'github_read': _GITHUB_READ,
72
74
  'github_write': {
73
75
  'contents': 'write',
74
76
  'pull_requests': 'write',
75
77
  'issues': 'write',
76
78
  },
79
+ # Publish a verdict on a commit without the right to push to it.
80
+ 'github_status': {**_GITHUB_READ, 'checks': 'write', 'statuses': 'write'},
77
81
  }
78
82
 
79
83
  #: Permissions that a purpose adds when the installation grants them:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: imbi-plugin-github
3
- Version: 2.62.0
3
+ Version: 2.63.0
4
4
  Summary: GitHub identity plugin for Imbi (github.com / GHEC / GHES)
5
5
  Author-email: "Gavin M. Roy" <gavinr@aweber.com>
6
6
  License-Expression: BSD-3-Clause
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.14
13
13
  Requires-Python: >=3.14
14
14
  Requires-Dist: httpx>=0.27
15
- Requires-Dist: imbi-common[databases]==2.62.0
15
+ Requires-Dist: imbi-common[databases]==2.63.0
16
16
  Requires-Dist: pydantic>=2
17
17
  Requires-Dist: pyjwt[crypto]>=2.8
18
18
  Description-Content-Type: text/markdown
@@ -12,7 +12,7 @@ imbi/plugins/github/plugin.py,sha256=LDFCqj6e2jfF9io3U7cC0eVOUAxw1ENvFS-0AWOMuDc
12
12
  imbi/plugins/github/public.py,sha256=Rrm_vLLvin0ZtCFyj5vtwbgZX2LpxoBsXMCcDd2AM84,3118
13
13
  imbi/plugins/github/pull_requests.py,sha256=DH9CnJoCpY5Ats5sZ_ktLvy54kBwK9g_-CDMlAIOq7Y,32553
14
14
  imbi/plugins/github/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- imbi/plugins/github/secret_provider.py,sha256=x07_n70dno1lSBgFfl8D-sY4soPatfrZv5AmqY0ROLg,30895
16
- imbi_plugin_github-2.62.0.dist-info/METADATA,sha256=29LGFivnLLhRTMyL0uhWJEyghRBA7z1ZfOo_jWoaATE,8977
17
- imbi_plugin_github-2.62.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
18
- imbi_plugin_github-2.62.0.dist-info/RECORD,,
15
+ imbi/plugins/github/secret_provider.py,sha256=pK1nkPLHU8iqxiVa0I4YWNgUOo1Vtz8XfUlTwX18ST8,31052
16
+ imbi_plugin_github-2.63.0.dist-info/METADATA,sha256=jJqF9I8A070iQSRibGa76214TzKQsOvDnKL1eGBCjyE,8977
17
+ imbi_plugin_github-2.63.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
18
+ imbi_plugin_github-2.63.0.dist-info/RECORD,,