Create fortnightly release #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# forked (:p) from frappe/frappe | |
name: Create fortnightly release | |
on: | |
schedule: | |
# 13:00 UTC -> 7pm IST on every alternate Tuesday | |
- cron: '0 13 * * 2/2' | |
workflow_dispatch: | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: octokit/[email protected] | |
with: | |
route: POST /repos/{owner}/{repo}/pulls | |
owner: frappe | |
repo: insights | |
title: |- | |
"chore: merge 'develop' into 'main'" | |
body: "Automated fortnightly release" | |
base: main | |
head: develop | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |