Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/extract_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
env:
GH_TOKEN: ${{ secrets.DYNAMO_ISSUES_TOKEN }}
run: |
prs=$(gh pr list --repo ${{ github.repository }} --search "milestone:${{ github.event.inputs.milestone }}" --state merged --json number --jq '.[].number')
prs=$(gh pr list --repo ${{ github.repository }} --search "milestone:${{ github.event.inputs.milestone }}" --state merged --limit 1000 --json number --jq '.[].number')
echo "# Release notes" > $GITHUB_STEP_SUMMARY
for pr in $prs; do
echo "Processing PR #$pr"
gh pr view $pr --repo ${{ github.repository }} --json body --jq '.body' | awk '/### Release Notes/{flag=1; next} /###/{flag=0} flag' | awk '!/(FILL ME IN)/' >> $GITHUB_STEP_SUMMARY
gh pr view $pr --repo ${{ github.repository }} --json body --jq '.body' | awk '/### Release Notes/{flag=1; next} /###/{flag=0} flag' | awk '!/N\/A/' | awk '!/(FILL ME IN)/' >> $GITHUB_STEP_SUMMARY
done
Loading