feat(automation): add automated PR creation from develop to master

This commit is contained in:
Nubenetes Bot
2026-06-13 20:37:54 +02:00
parent 27c3150587
commit 9dab80ac3a

View File

@@ -107,6 +107,24 @@ jobs:
git push origin develop
fi
- name: Create or Update Promotion PR to Master
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Check if a PR already exists
PR_EXISTS=$(gh pr list --head develop --base master --json number --jq '.[0].number')
if [ -z "$PR_EXISTS" ]; then
echo "Creating new PR from develop to master..."
gh pr create \
--base master \
--head develop \
--title "🚀 Release: Agentic V2 Portal Update" \
--body "Automated promotion from develop to master. This PR includes updated V2 Elite portal content, AI-enriched metadata, and synchronized README metrics. Please review and merge to deploy to production."
else
echo "PR #$PR_EXISTS already exists. No action needed (it will auto-update with the push)."
fi
- name: Upload Architecture and Decision Logs
if: always()
uses: actions/upload-artifact@v7