napari / napari-release-tools

Tools for speedup napari release process
0 stars 4 forks source link

GH_TOKEN should not be needed to run `generate_releaes_notes.py -h` #6

Closed jni closed 1 month ago

jni commented 2 months ago
$ python generate_release_notes.py -h
Traceback (most recent call last):
  File "/Users/jni/projects/napari-release-tools/generate_release_notes.py", line 32, in <module>
    from release_utils import (
  File "/Users/jni/projects/napari-release-tools/release_utils.py", line 68, in <module>
    raise RuntimeError(
RuntimeError: It is necessary that the environment variable `GH_TOKEN` be set to avoid running into problems with rate limiting. One can be acquired at https://github.com/settings/tokens.

You do not need to select any permission boxes while generating the token.