Skip to content

Commit

Permalink
chore: include PRs in roadmap (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas authored Mar 6, 2024
1 parent 335d952 commit ac87ced
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/workflow-roadmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions scripts/update-workflow-issue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
)
Expand Down

0 comments on commit ac87ced

Please sign in to comment.