diff options
| author | alex <alex@pdp7.net> | 2024-05-25 14:37:20 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2024-05-25 14:37:40 +0200 |
| commit | 5504d9f005af0f2340a04fe0c5876100f5d4d733 (patch) | |
| tree | df66f09607c36a29790da52fcd55c6165b4b1e3f /personal_infra | |
| parent | 445a60b21b1f0921e80a195dd8f8dd219feffa7e (diff) | |
Exclude Dependabot runs
Diffstat (limited to 'personal_infra')
| -rwxr-xr-x | personal_infra/playbooks/roles/deploy_ragent/files/get.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/personal_infra/playbooks/roles/deploy_ragent/files/get.py b/personal_infra/playbooks/roles/deploy_ragent/files/get.py index d0a78618..6468f130 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')) |
