From 7861b6b8452de546487dc1c2026a3da7cdba5cd1 Mon Sep 17 00:00:00 2001
From: David Li
Date: Mon, 26 Oct 2026 21:39:32 +0900
Subject: [PATCH] ci: fix update_workflow job
---
.github/workflows/update_workflow.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/update_workflow.yaml b/.github/workflows/update_workflow.yaml
index d97a61f..f62bc42 100644
--- a/.github/workflows/update_workflow.yaml
+++ b/.github/workflows/update_workflow.yaml
@@ -17,6 +17,7 @@
name: Update Workflow Template Actions
on:
+ pull_request: {}
schedule:
- cron: 14 23 * * *
workflow_dispatch: {}
@@ -47,12 +48,15 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
+ with:
+ python-version: "3.14"
- name: Update workflow template actions
run: |
uv run adbc-gen-workflow update-actions
- name: Create PR if there are any changes
+ if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |