File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,14 +227,14 @@ jobs:
227227 PRS=$(curl -s -H "Accept: application/vnd.github+json" \
228228 -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
229229 -H "X-GitHub-Api-Version: 2022-11-28" \
230- "https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/pulls?state=closed&base=develop &sort=updated&direction=desc")
230+ "https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/pulls?state=closed&base=${{ github.ref_name }} &sort=updated&direction=desc")
231231
232232 if echo "$PRS" | jq -e . > /dev/null 2>&1; then
233233 PR_NOTES=$(echo "$PRS" | jq -r --arg since "$RELEASE_DATE" '.[] | select(.merged_at != null and .merged_at > $since) | "* \(.title) ([#\(.number)](\(.html_url)))"')
234234 else
235235 PR_NOTES="could not fetch release notes"
236236 fi
237- echo "$PR_NOTES" > pr_notes.txt
237+ echo "$PR_NOTES" > pr_notes.txt
238238
239239 - name : create pr
240240 id : create-pr
You can’t perform that action at this time.
0 commit comments