From 5504d9f005af0f2340a04fe0c5876100f5d4d733 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 25 May 2024 14:37:20 +0200 Subject: [PATCH] Exclude Dependabot runs --- personal_infra/playbooks/roles/deploy_ragent/files/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/personal_infra/playbooks/roles/deploy_ragent/files/get.py b/personal_infra/playbooks/roles/deploy_ragent/files/get.py index d0a7861..6468f13 100755 --- a/personal_infra/playbooks/roles/deploy_ragent/files/get.py +++ b/personal_infra/playbooks/roles/deploy_ragent/files/get.py @@ -7,7 +7,7 @@ import urllib.request run_id = sys.argv[1] if run_id == "last": - runs = json.loads(urllib.request.urlopen("https://api.github.com/repos/alexpdp7/ragent/actions/runs?branch=master").read().decode('utf8')) + runs = json.loads(urllib.request.urlopen("https://api.github.com/repos/alexpdp7/ragent/actions/runs?branch=master&event=push").read().decode('utf8')) run_id = runs["workflow_runs"][0]["id"] run = json.loads(urllib.request.urlopen("https://api.github.com/repos/alexpdp7/ragent/actions/runs/%s" % run_id).read().decode('utf8')) -- 2.47.3