Add tooltips to AI and OpenSearch scores #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check Changelog Update | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check-changelog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR branch | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Save PR CHANGELOG.md and get base branch version | |
| run: | | |
| # Save the PR's current CHANGELOG.md | |
| cp CHANGELOG.md CHANGELOG.pr.md | |
| # Fetch and checkout the base branch version | |
| git fetch origin main | |
| git checkout origin/main -- CHANGELOG.md | |
| mv CHANGELOG.md CHANGELOG.base.md | |
| # Restore the PR's version | |
| mv CHANGELOG.pr.md CHANGELOG.md | |
| - name: Compare CHANGELOG.md | |
| run: | | |
| if ! diff -q CHANGELOG.base.md CHANGELOG.md > /dev/null 2>&1; then | |
| echo "✅ Changelog has been updated." | |
| exit 0 | |
| else | |
| echo "❌ Changelog not updated! Please update CHANGELOG.md." | |
| exit 1 | |
| fi | |
| shell: bash | |