File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 14
14
- cron : 0 6 * * * # Daily 6AM UTC build
15
15
16
16
17
+ env :
18
+ COLOR : >- # Supposedly, pytest or coveragepy use this
19
+ yes
20
+ FORCE_COLOR : 1 # Request colored output from CLI tools supporting it
21
+ MYPY_FORCE_COLOR : 1 # MyPy's color enforcement
22
+ PIP_DISABLE_PIP_VERSION_CHECK : 1
23
+ PIP_NO_PYTHON_VERSION_WARNING : 1
24
+ PIP_NO_WARN_SCRIPT_LOCATION : 1
25
+ PRE_COMMIT_COLOR : always
26
+ PROJECT_NAME : aiosignal
27
+ PY_COLORS : 1 # Recognized by the `py` package, dependency of `pytest`
28
+ PYTHONIOENCODING : utf-8
29
+ PYTHONUTF8 : 1
30
+
31
+
17
32
jobs :
18
33
lint :
19
34
name : Linter
@@ -115,6 +130,12 @@ jobs:
115
130
needs : test-summary
116
131
# Run only on pushing a tag
117
132
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
133
+ permissions :
134
+ contents : write # IMPORTANT: mandatory for making GitHub Releases
135
+ id-token : write # IMPORTANT: mandatory for trusted publishing & sigstore
136
+ environment :
137
+ name : pypi
138
+ url : https://pypi.org/p/${{ env.PROJECT_NAME }}
118
139
steps :
119
140
- name : Checkout
120
141
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments