Redirect to queue page after campaign creation #67
Workflow file for this run
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 | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| jobs: | |
| check-changelog: | |
| name: Verify Changelog Update | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check for CHANGELOG.md modification | |
| run: | | |
| # Fetch the base branch to ensure we can diff against it | |
| git fetch origin ${{ github.base_ref }} | |
| # Check if CHANGELOG.md is in the list of changed files | |
| if git diff --name-only origin/${{ github.base_ref }} ${{ github.event.pull_request.head.sha }} | grep -q "^CHANGELOG.md$"; then | |
| echo "✅ CHANGELOG.md has been modified." | |
| exit 0 | |
| else | |
| echo "❌ Error: CHANGELOG.md was not modified in this Pull Request." | |
| echo "Please add an entry to CHANGELOG.md describing your changes." | |
| exit 1 | |
| fi |