diff --git a/.github/workflows/workflow-roadmap.yml b/.github/workflows/workflow-roadmap.yml index da7bc7abce..f72106e425 100644 --- a/.github/workflows/workflow-roadmap.yml +++ b/.github/workflows/workflow-roadmap.yml @@ -6,6 +6,11 @@ on: - labeled - closed - deleted + pull_request: + types: + - opened + - closed + - reopened workflow_dispatch: # We need to separately trigger when one of the other workflows completes # because GHA won't trigger another workflow based only on changes from diff --git a/scripts/update-workflow-issue b/scripts/update-workflow-issue index fdda1f10ae..f96bc873f3 100755 --- a/scripts/update-workflow-issue +++ b/scripts/update-workflow-issue @@ -4,6 +4,10 @@ list_issues() { gh issue list "$@" --json number --jq 'map("- #\(.number)")[]' | sort -n } +list_prs() { + gh pr list "$@" --json number --jq 'map("- #\(.number)")[]' | sort -n +} + update() { if test -z "$NOOP"; then gh issue edit -F - 728 @@ -40,7 +44,9 @@ gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-1 echo "@$member [🔎](https://github.com/TBD54566975/ftl/issues/assigned/$member)" echo list_issues -a "$member" + list_prs -A "$member" list_issues -s closed -S "closed:>$date" -a "$member" + list_prs -s closed -S "closed:>$date" -A "$member" echo done )