Skip to content

Commit 0921051

Browse files
committed
Adding debug prints to try and fix annotations issue.
1 parent d77c970 commit 0921051

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flake8_github_action/__main__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#
2828

2929
# stdlib
30+
import os
3031
import sys
3132
from typing import Union
3233

@@ -79,5 +80,9 @@ def main(ctx: click.Context, token: str, repo: Union[str, URL, None] = None):
7980

8081

8182
if __name__ == "__main__":
83+
print("GITHUB_ACTION:", os.environ["GITHUB_ACTION"])
84+
print("GITHUB_RUN_ID:", os.environ["GITHUB_RUN_ID"])
85+
print("GITHUB_WORKFLOW:", os.environ["GITHUB_WORKFLOW"])
86+
8287
sys.exit(main(obj={}))
8388

0 commit comments

Comments
 (0)