Skip to content

Commit

Permalink
Exclude runs from before pathogen-repo-build waited on AWS Batch jobs
Browse files Browse the repository at this point in the history
Before this point, the status of a GitHub Actions workflow run isn't
reflective of the the actual AWS Batch job outcome.

Related-to: <nextstrain/.github#54>
  • Loading branch information
tsibley committed Feb 14, 2024
1 parent f33d6f9 commit 75cf365
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflow-runs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ run as materialized (
-- XXX FIXME: this correlated subquery is a hack around a steampipe issue… describe why, maybe explore a better work around.
head_branch = (select default_branch from repository r where r.repository_full_name = workflow.repository_full_name)
and age(run.created_at) <= '90 days'
and run.created_at >= '2024-02-13T21:50:28Z'::timestamptz -- When I merged <https://github.com/nextstrain/.github/pull/54>. —trs
)

select
Expand Down

0 comments on commit 75cf365

Please sign in to comment.