PunimTag Web Application - Major Feature Release #1

Open
tanyar09 wants to merge 106 commits from dev into master
Showing only changes of commit 45ceedc250 - Show all commits

View File

@ -15,13 +15,13 @@ on:
# Prevent duplicate runs when pushing to a branch with an open PR
# This ensures only one workflow runs at a time for the same commit
concurrency:
# Use commit SHA to unify push and PR events for the same commit
# Use commit SHA and branch to unify push and PR events for the same commit
# This prevents duplicate runs when both push and PR events fire for the same commit
# For PRs: uses head SHA (the commit being tested)
# For pushes: uses the commit SHA from the push event (github.event.after or github.sha)
# The group name combines workflow name with commit SHA to ensure uniqueness
# If both push and PR events fire for the same commit, only one will run
group: ${{ github.workflow }}-${{ github.event.pull_request.head.sha || github.event.after || github.sha }}
# For PRs: uses base branch (target) and head SHA (the commit being tested)
# For pushes: uses branch name and commit SHA from the push event
# The group ensures push and PR events for the same branch+commit are grouped together
# If both push and PR events fire for the same commit on the same branch, only one will run
group: ${{ github.workflow }}-${{ github.event.pull_request.base.ref || github.ref_name }}-${{ github.event.pull_request.head.sha || github.event.after || github.sha }}
cancel-in-progress: true
jobs:
@ -65,6 +65,8 @@ jobs:
echo "Skipping CI: Push event on feature branch '$BRANCH_NAME' (use PR events instead)"
SKIP=1
fi
# Note: For dev/master, we rely on concurrency group to prevent duplicates
# If both push and PR events fire, concurrency will cancel one
fi
# Check branch name (case-insensitive)