Skip to content

Commit

Permalink
docs: minor typo (#4189)
Browse files Browse the repository at this point in the history
* chore: fixed typo and msg

* docs: updated message
  • Loading branch information
karl-cardenas-coding authored Oct 4, 2024
1 parent 14aa74f commit 408dd62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand All @@ -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.'
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.'
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function ReleaseNotesVersions(): JSX.Element | null {
return (
<Admonition type="tip">
<p>
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.
</p>
<div className={styles.dropdownContainer}>
Expand Down

0 comments on commit 408dd62

Please sign in to comment.