seitime-frappe/.github/workflows/initiate_release.yml
Ankush Menat ef9e10988d
chore: trigger release PRs early (#31108)
* chore: trigger release PRs early

Too many CI jobs start at 3 PM blocking everything else, so making this one run 30 min before.

* Update initiate_release.yml
2025-02-04 10:13:14 +00:00

32 lines
862 B
YAML

# This workflow is agnostic to branches. Only maintain on develop branch.
# To add/remove versions just modify the matrix.
name: Create weekly release pull requests
on:
schedule:
# 9:00 UTC => 2:30 PM IST Tuesday
- cron: "0 9 * * 2"
workflow_dispatch:
jobs:
stable-release:
name: Release
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ["14", "15"]
steps:
- uses: octokit/request-action@v2.x
with:
route: POST /repos/{owner}/{repo}/pulls
owner: frappe
repo: frappe
title: |-
"chore: release v${{ matrix.version }}"
body: "Automated weekly release."
base: version-${{ matrix.version }}
head: version-${{ matrix.version }}-hotfix
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}