Skip to content

Commit

Permalink
Reverting for testing
Browse files Browse the repository at this point in the history
Need to test some changes to the workflows, so temporarily reverting these changes to work with mukul's branches.
  • Loading branch information
nataliejschultz committed May 26, 2024
1 parent f91fcb1 commit 8cb70f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/fetch_runID.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
For e-mission-server: id = 35580278
'''

download_url = "https://api.github.com/repos/e-mission/e-mission-server/actions/workflows/35580278/runs"
download_url = "https://api.github.com/repos/MukuFlash03/e-mission-server/actions/workflows/75506902/runs"
logging.debug("About to fetch workflow runs present in docker image workflow present in e-mission-server from %s" % download_url)
r = requests.get(download_url)
if r.status_code != 200:
Expand All @@ -33,7 +33,7 @@
successful_runs = [run for run in workflow_runs \
if run["status"] == "completed" and \
run["conclusion"] == "success" and \
run["head_branch"] == "master"
run["head_branch"] == "consolidate-differences"
]
if successful_runs:
sorted_runs = successful_runs.sort(reverse=True, key=lambda x: x["updated_at"])
Expand Down

0 comments on commit 8cb70f5

Please sign in to comment.