feat: add merge lock
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 6s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Successful in 9s
Blog Deployment / Deploy-Production (push) Successful in 9s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 2s

This commit is contained in:
2025-06-22 19:55:40 +00:00
parent 8b6938db17
commit 73a583bb22
2 changed files with 13 additions and 0 deletions

0
.dev-lock Normal file
View File

View File

@@ -134,6 +134,19 @@ jobs:
needs: Test-Staging needs: Test-Staging
runs-on: ubuntu runs-on: ubuntu
steps: steps:
- name: Checkout preview branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: preview
- name: Check for merge lock
run: |
if [ -f .dev-lock ]; then
echo "🔒 Merge is locked via .dev-lock file. Skipping merge to main."
exit 0
fi
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: