Skip to content

.github/workflows/stable-releases.yml #3

.github/workflows/stable-releases.yml

.github/workflows/stable-releases.yml #3

on:
workflow_dispatch:
schedule:
- cron: "0 10 8-14 * tue"
jobs:
create-release-pull-request:
runs-on: ubuntu-latest
steps:
- name: clone repo, cd into it, and fetch all
run: gh repo clone FOGProject/fogproject && cd fogproject && git fetch --all
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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