diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index 2e9ba5fddf..fa0fcf0921 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -91,17 +91,21 @@ jobs: jq '[.[] | select(.user.login == "vault-token-factory-spectrocloud[bot]")] | length') MATCHED=${{ steps.check_labels.outputs.matched }} - + echo "Before Backports Count: $BEFORE_BACKPORTS" echo "New PR Count: $NEW_COUNT" echo "Matched Backport Labels: $MATCHED" - + if [ $((NEW_COUNT - BEFORE_BACKPORTS)) -eq $MATCHED ]; then echo "PR count increased by the expected amount." + echo "missing_prs=0" >> $GITHUB_OUTPUT else + MISSING_PR_COUNT=$((MATCHED - (NEW_COUNT - BEFORE_BACKPORTS))) echo "PR count did not increase by the expected amount." + echo "missing_prs=$MISSING_PR_COUNT" >> $GITHUB_OUTPUT exit 1 fi + - name: Slack Notification if: ${{ failure() }} @@ -113,4 +117,4 @@ jobs: SLACK_COLOR: ${{ job.status }} SLACKIFY_MARKDOWN: true ENABLE_ESCAPES: true - SLACK_MESSAGE: 'The backports for branch ${{env.GITHUB_BRANCH}} and PR [#${{ github.event.pull_request.number }}](${{ github.event.pull_request.html_url }}) failed. Review the GitHub Actions logs for more details.' \ No newline at end of file + SLACK_MESSAGE: 'The backports for branch `${{env.GITHUB_BRANCH}}` in PR [#${{ github.event.pull_request.number }}](${{ github.event.pull_request.html_url }}) failed. Number of missing PRs: `${{ steps.verify_increment.outputs.missing_prs }}`. Review the PR for more details.' \ No newline at end of file diff --git a/src/components/ReleaseNotesVersions/ReleaseNotesVersions.tsx b/src/components/ReleaseNotesVersions/ReleaseNotesVersions.tsx index 5c3d6aeab4..647abffae1 100644 --- a/src/components/ReleaseNotesVersions/ReleaseNotesVersions.tsx +++ b/src/components/ReleaseNotesVersions/ReleaseNotesVersions.tsx @@ -121,7 +121,7 @@ export function ReleaseNotesVersions(): JSX.Element | null { return (

- Are you looking for the release notes to a specific version of Palette? Use the version selector below to + Are you looking for the release notes for a specific version of Palette? Use the version selector below to navigate to the release notes of the desired version.