This workflow automates the process of pushing the DATACENTRA branch to origin with upstream tracking.
- Automatic: Triggers on any push to
copilot/push-datacentra-upstreambranch - Manual: Can be manually triggered via GitHub Actions UI (workflow_dispatch)
- Checks out the repository with full history
- Configures Git with github-actions[bot] identity
- Checks if DATACENTRA branch exists locally
- Creates DATACENTRA branch if it doesn't exist
- Syncs DATACENTRA with the triggering branch
- Executes
git push -u origin DATACENTRA - Verifies the push was successful
The workflow requires contents: write permission to push to the repository.
To manually trigger this workflow:
- Go to the GitHub repository
- Click on "Actions" tab
- Select "Push DATACENTRA Branch" workflow
- Click "Run workflow" button
- Select the branch to run from
- Click "Run workflow"
The workflow automatically runs when changes are pushed to the copilot/push-datacentra-upstream branch, ensuring the DATACENTRA branch stays synchronized.