Skip to content

Commit 38d7873

Browse files
committed
Temporary tweak to diagnose GitHub Actions error
1 parent 6e9ce37 commit 38d7873

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

osmine/preprocess/read_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ def read_config() -> dict:
151151

152152
# Check if GitHub authentication key string looks correct
153153
# AFAIK the token should be exactly 40 alphanumeric characters
154+
barbaz: str = configuration["GitHub_token"][::-1]
155+
print(f"foobar abc-{barbaz}-123", file=sys.stderr)
154156
try:
155157
assert (configuration["GitHub_token"].isalnum() and len(configuration["GitHub_token"]) == 40)
156158
except AssertionError:

0 commit comments

Comments
 (0)