Skip to content

Commit c525b6a

Browse files
Jordan-Williams2Jordan-Williams2
authored andcommitted
feat: add automated PostgreSQL version check workflow
1 parent 93b4250 commit c525b6a

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# ============================================================================
2+
# PostgreSQL Version Check Workflow
3+
# ============================================================================
4+
# Checks for PostgreSQL version changes in IBM Cloud Databases and creates
5+
# PRs to update supported versions in this module.
6+
#
7+
# Runs daily at 6 AM UTC and can be triggered manually.
8+
# No manual version maintenance required - versions are extracted from the
9+
# codebase automatically.
10+
# ============================================================================
11+
12+
name: Check PostgreSQL Versions
13+
14+
on:
15+
schedule:
16+
# Run daily at 6:00 AM UTC
17+
- cron: '0 6 * * *'
18+
19+
# Allow manual trigger
20+
workflow_dispatch:
21+
inputs:
22+
dry_run:
23+
description: 'Dry run (do not create PRs)'
24+
required: false
25+
type: boolean
26+
default: false
27+
28+
jobs:
29+
check-versions:
30+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/icd-version-update.yml@feat/icd-version-automation
31+
with:
32+
icd_service_type: 'postgresql'
33+
dry_run: ${{ inputs.dry_run || false }}
34+
secrets:
35+
IBMCLOUD_API_KEY: ${{ secrets.IBMCLOUD_API_KEY }}

0 commit comments

Comments
 (0)