Skip to content

Commit 0f65cd7

Browse files
committed
Add 'app' input example into github_fork.py
1 parent 40efe72 commit 0f65cd7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/github_forks/bin/github_forks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ def stream_events(self, inputs, ew):
130130
owner = input_item["owner"]
131131
repo_name = input_item["repo_name"]
132132

133+
# Hint: API auth required?, get a secret from passwords.conf
134+
# self.service.namespace["app"] = input_item["__app"]
135+
# api_token = self.service.storage_passwords["github_api_token"].clear_password
136+
133137
# Get the fork count from the Github API
134138
jsondata = _get_github_repos(owner, repo_name)
135139
fork_count = jsondata["forks_count"]

0 commit comments

Comments
 (0)