Skip to content

Commit

Permalink
Add release branch step
Browse files Browse the repository at this point in the history
  • Loading branch information
itamargiv committed Oct 9, 2023
1 parent de02fea commit dc17f98
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/schedule-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: development
- name: Branch out Release
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "<>"
git branch release/$(date +'%Y-%m-%d')
git push -u origin release/$(date +'%Y-%m-%d')
- name: Create PR
run: |
gh pr create -B main -H development \
gh pr create -B main -H release/$(date +'%Y-%m-%d') \
--title "Release Mismatch Finder to Production" \
--body "Review and release the latest changes from staging to production."
--body "Review and release the latest changes."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit dc17f98

Please sign in to comment.