Skip to content

Commit

Permalink
add gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
roo-ahine committed Nov 11, 2024
1 parent b3025a8 commit ad65f0f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Create production promotion pull request
on:
push:
branches:
- main
jobs:
productionPromotion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: production
- name: Reset promotion branch
run: |
git fetch origin main:main
git reset --hard main
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: production-promotion

0 comments on commit ad65f0f

Please sign in to comment.