Skip to content

Commit d5e035f

Browse files
committed
Add force-bump-pull-request workflows
Adds two new workflows to create force bump PRs The manual version can be triggered via the github actions tab. The scheduled version runs on Saturday and will generate PRs for main and the most recent FR branch. Jira: OSPRH-8379
1 parent dc849ad commit d5e035f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Manually Trigger a Force Bump PR
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
call-build-workflow:
8+
uses: openstack-k8s-operators/openstack-k8s-operators-ci/.github/workflows/force-bump-pull-request.yaml@main
9+
with:
10+
operator_name: mariadb
11+
branch_name: ${{ github.ref_name }}
12+
secrets:
13+
FORCE_BUMP_PULL_REQUEST_PAT: ${{ secrets.FORCE_BUMP_PULL_REQUEST_PAT }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Scheduled Force Bump PR
2+
3+
on:
4+
schedule:
5+
- cron: '0 4 * * 6' # 4AM UTC Saturday
6+
7+
jobs:
8+
call-build-workflow:
9+
if: github.ref == 'refs/heads/main' && github.repository_owner == 'openstack-k8s-operators'
10+
uses: openstack-k8s-operators/openstack-k8s-operators-ci/.github/workflows/force-bump-branches.yaml@main
11+
with:
12+
operator_name: mariadb
13+
secrets:
14+
FORCE_BUMP_PULL_REQUEST_PAT: ${{ secrets.FORCE_BUMP_PULL_REQUEST_PAT }}

0 commit comments

Comments
 (0)