diff --git a/.github/workflows/prerelease-notification.yml b/.github/workflows/prerelease-notification.yml index 9bc1cb3c6..a4320f2ac 100644 --- a/.github/workflows/prerelease-notification.yml +++ b/.github/workflows/prerelease-notification.yml @@ -23,8 +23,8 @@ jobs: run: | REPO_URL="https://github.com/getlantern/lantern-client" git fetch origin - PR_SUMMARY=$(git log lantern-8.0.0-beta...HEAD --pretty=format:"%h %s" | grep -E "#[0-9]+" | sed -E 's|#([0-9]+)|[#\1]('"${REPO_URL}"'/pull/\1)|') - echo -e "$PR_SUMMARY" + PR_SUMMARY=$(git log --since="1 week ago" --pretty=format:"%h %s" | grep -E "#[0-9]+" | sed -E 's|#([0-9]+)|[#\1]('"${REPO_URL}"'/pull/\1)|') + echo -e "PR SUMMARY: $PR_SUMMARY" echo "::set-output name=summary::$PR_SUMMARY" - name: Send Slack Notification