Skip to content

Commit

Permalink
Merge pull request #965 from pateljannat/make-release
Browse files Browse the repository at this point in the history
ci: automated release PR
  • Loading branch information
pateljannat authored Aug 14, 2024
2 parents 363edb9 + 6c18f9a commit 669316b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/make_release_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create weekly release
on:
schedule:
# 13:00 UTC -> 7pm IST on every Wednesday
- cron: '30 4 * * 3'
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: lms
title: |-
"chore: merge 'develop' into 'main'"
body: "Automated weekly release"
base: main
head: develop
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

0 comments on commit 669316b

Please sign in to comment.