We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 618a68a commit 2b68569Copy full SHA for 2b68569
1 file changed
.github/workflows/promoteToReference.yml
@@ -0,0 +1,20 @@
1
+name: Create *Promote Stage to Prod* Pull Request
2
+on:
3
+ push:
4
+ branches:
5
+ - prod
6
+jobs:
7
+ productionPromotion:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ with:
12
+ ref: reference
13
+ - name: Reset prod branch
14
+ run: |
15
+ git fetch origin prod:prod
16
+ git reset --hard prod
17
+ - name: Create Pull Request
18
+ uses: peter-evans/create-pull-request@v3
19
20
+ branch: promTo/reference
0 commit comments