forked from Azure/k8s-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 869 Bytes
/
Copy pathmonthly-release.yaml
File metadata and controls
32 lines (30 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Create Release PR
on:
workflow_dispatch:
inputs:
increment:
description: 'Version increment type'
required: true
type: choice
options:
- patch
- minor
- major
default: 'patch'
prerelease:
description: 'Mark as prerelease'
required: false
type: boolean
default: false
schedule:
- cron: '0 9 1 * *'
jobs:
create-release-pr:
uses: bosesuneha/azure-action-release-workflows/.github/workflows/monthly_release_pr.yaml@monthly-release-pr-workflow
with:
increment: ${{ inputs.increment || 'patch' }}
prerelease: ${{ inputs.prerelease || false }}
base_branch: main
permissions:
contents: write
pull-requests: write