| # 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 |
| # 9:30 UTC => 3 PM IST Tuesday |
| - uses: octokit/request-action@v2.x |
| route: POST /repos/{owner}/{repo}/pulls |
| "chore: release v${{ matrix.version }}" |
| body: "Automated weekly release." |
| base: version-${{ matrix.version }} |
| head: version-${{ matrix.version }}-hotfix |
| GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} |
| - uses: octokit/request-action@v2.x |
| route: POST /repos/{owner}/{repo}/pulls |
| "chore: release v15 beta" |
| body: "Automated beta release." |
| GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} |