Skip to content

Add GA4 conversion tracking for subscription form #111

Add GA4 conversion tracking for subscription form

Add GA4 conversion tracking for subscription form #111

Workflow file for this run

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