Skip to content

Commit

Permalink
Update stable-releases.yml to create a pull request
Browse files Browse the repository at this point in the history
Make it create a pull request
  • Loading branch information
darksidemilk authored Aug 5, 2024
1 parent 776d879 commit b528f96
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/stable-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@ on:
schedule:
- cron: "0 10 8-14 * tue"
jobs:
release-stable:
create-release-pull-request:
runs-on: ubuntu-latest
steps:
- name: Merge staging
run: |
git merge dev-branch
git push
- name: Release tag
run: |
# get version from file
# create release with version as tag
# auto generate release notes
# send notices/announcements
- name: create pull request
run: gh pr create -B stable -H dev-branch --title 'Monthly Release PR' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# release-stable:
# runs-on: ubuntu-latest
# steps:
# - name: Merge staging
# run: |
# git merge dev-branch
# git push
# - name: Release tag
# run: |
# # get version from file
# # create release with version as tag
# # auto generate release notes
# # send notices/announcements

0 comments on commit b528f96

Please sign in to comment.