Skip to content

Commit

Permalink
Test if this helps with github error
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Aug 12, 2024
1 parent 77ebf40 commit 27bc013
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ena-submission/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ rule trigger_submission_to_ena_from_file: # for testing
input_file="results/approved_ena_submission_list.json",
config="results/config.yaml",
output:
submitted=touch("results/triggered"),
submitted=touch("results/triggered_from_file"),
params:
log_level=LOG_LEVEL,
shell:
Expand Down
2 changes: 2 additions & 0 deletions ena-submission/scripts/trigger_submission_to_ena.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def trigger_submission_to_ena(log_level, config_file, input_file=None):
github_pat = os.getenv("GITHUB_PAT")
if not github_pat:
github_pat = config.github_pat

logger.info(github_username)
response = requests.get(
config.github_url,
auth=HTTPBasicAuth(github_username, github_pat),
Expand Down

0 comments on commit 27bc013

Please sign in to comment.