Skip to content

Commit

Permalink
only push on main
Browse files Browse the repository at this point in the history
  • Loading branch information
saienduri committed Nov 21, 2024
1 parent b4c26f4 commit 23e3772
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci-tools/latest-pkgci.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ def get_latest_pkgci_workflow_run():
"Authorization": f"Bearer {GITHUB_TOKEN}",
"X-GitHub-Api-Version": "2022-11-28",
}
params = {"per_page": 1}
params = {
"per_page": 1,
"event": "push",
"branch": "main",
}
response = requests.get(API_URL, headers=headers, params=params)

if response.status_code == 200:
Expand Down

0 comments on commit 23e3772

Please sign in to comment.