Skip to content

Commit 38e7494

Browse files
yarikopticclaude
andcommitted
Add optional bridge push step to git-bug sync workflow
Adds a workflow_dispatch input "push-to-github" (default: false) that enables pushing locally-created bugs to GitHub Issues. Scheduled runs remain pull-only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e328214 commit 38e7494

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/sync-git-bug.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
# Run hourly at minute 17 (avoid top-of-hour contention)
77
- cron: "17 * * * *"
88
workflow_dispatch:
9+
inputs:
10+
push-to-github:
11+
description: "Push local bugs to GitHub Issues"
12+
type: boolean
13+
default: false
914

1015
permissions:
1116
contents: write
@@ -68,6 +73,10 @@ jobs:
6873
--token="$GH_TOKEN" \
6974
--non-interactive
7075
76+
- name: Push local bugs to GitHub
77+
if: inputs.push-to-github
78+
run: git-bug bridge push github
79+
7180
- name: Pull issues from GitHub
7281
run: git-bug bridge pull github
7382

0 commit comments

Comments
 (0)