Skip to content

Commit

Permalink
Merge pull request #473 from camptocamp/fix
Browse files Browse the repository at this point in the history
Patch: Avoid error on CodeQL workflow
  • Loading branch information
sbrunner authored Aug 8, 2024
2 parents c62067b + d2b70ba commit ecbaac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github_app_geo_project/module/standard/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def get_actions(self, context: module.GetActionContext) -> list[module.Action[di
if (
context.event_data.get("action") == "completed"
and context.event_data.get("workflow_run", {}).get("conclusion") == "failure"
# Don't run on dynamic workflows like CodeQL
and context.event_data.get("workflow", {}).get("path", {}).startswith("dynamic/")
):
return [module.Action(priority=module.PRIORITY_STANDARD, data={})]
return []
Expand Down

0 comments on commit ecbaac4

Please sign in to comment.