Create vvv #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create production promotion pull request | |
on: | |
push: | |
branches: | |
- staging | |
workflow_dispatch: # Allows manual triggering | |
jobs: | |
productionPromotion: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: staging | |
- name: Reset promotion branch | |
run: | | |
git checkout -- Dockerfile .github/workflows/* | |
git reset HEAD Dockerfile .github/workflows/* | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
branch: main |