Skip to content

Commit

Permalink
Update report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonXuDeveloper committed Nov 9, 2024
1 parent 80a52eb commit 7afec58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ env.tag }} # Checkout at the determined tag

# Check if release notes are already updated
- name: Check Release Notes
id: check_release_notes
run: |
RELEASE_BODY=$(gh release view "$TAG_NAME" --json body --jq '.body')
echo "Current release body: $RELEASE_BODY"
if [[ $RELEASE_BODY == *"Performance Report"* ]]; then
echo "Release notes already updated"
exit 1
fi
- name: Setup .NET
uses: actions/setup-dotnet@v3
Expand Down

0 comments on commit 7afec58

Please sign in to comment.