imbi-plugin-github 2.58.0__py3-none-any.whl → 2.59.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.
@@ -76,15 +76,18 @@ PURPOSE_PERMISSIONS: dict[str, dict[str, str]] = {
76
76
  },
77
77
  }
78
78
 
79
- #: CI read permissions that a purpose adds when the installation grants
80
- #: them, so an agent can wait for and read checks. Asking for one the
81
- #: installation lacks would make GitHub refuse the whole token (422).
79
+ #: Permissions that a purpose adds when the installation grants them:
80
+ #: CI reads, so an agent can wait for and read checks, and for
81
+ #: ``github_write`` also ``workflows``, which GitHub requires to push a
82
+ #: change under ``.github/workflows/``. Asking for one the installation
83
+ #: lacks would make GitHub refuse the whole token (422).
82
84
  PURPOSE_OPTIONAL_PERMISSIONS: dict[str, dict[str, str]] = {
83
85
  'github_read': {'checks': 'read', 'statuses': 'read'},
84
86
  'github_write': {
85
87
  'actions': 'read',
86
88
  'checks': 'read',
87
89
  'statuses': 'read',
90
+ 'workflows': 'write',
88
91
  },
89
92
  }
90
93
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: imbi-plugin-github
3
- Version: 2.58.0
3
+ Version: 2.59.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.58.0
15
+ Requires-Dist: imbi-common[databases]==2.59.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=GZnTLbj_Gl5sHWuRqFuajnoO2xPudNQumAt4h_uJpYw,3114
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=E8TKo1O6YSnZO6YUWwK4x3dO-5cg1_M8o2Jd-0YCa_8,30743
16
- imbi_plugin_github-2.58.0.dist-info/METADATA,sha256=jaPo19XHIRdDRcdwXy9XRSH-sgF-FVSnO0FxlCmvC7c,8977
17
- imbi_plugin_github-2.58.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
18
- imbi_plugin_github-2.58.0.dist-info/RECORD,,
15
+ imbi/plugins/github/secret_provider.py,sha256=x07_n70dno1lSBgFfl8D-sY4soPatfrZv5AmqY0ROLg,30895
16
+ imbi_plugin_github-2.59.0.dist-info/METADATA,sha256=mfDBXZl1UHtcXJBHi1jJYmPaZL3UcDc5kUstbMgsPrE,8977
17
+ imbi_plugin_github-2.59.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
18
+ imbi_plugin_github-2.59.0.dist-info/RECORD,,