Skip to content

Commit eaa4d9a

Browse files
committed
Refactor CI workflows: remove optional inputs from ci.yml and adjust permissions in video-url-analyzer.yml; update action command in package.json to include output trace
1 parent e5b3be5 commit eaa4d9a

4 files changed

Lines changed: 231 additions & 244 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ on:
66
pull_request:
77
branches:
88
- main
9-
workflow_dispatch:
10-
inputs:
11-
github_issue:
12-
description: "GitHub issue number to comment on"
13-
required: false
14-
video_url:
15-
description: "Direct video URL to analyze"
16-
required: false
17-
type: string
189
permissions:
1910
contents: read
2011
issues: write
@@ -59,7 +50,6 @@ jobs:
5950
genaiscript-
6051
- uses: ./
6152
with:
62-
github_issue: ${{ github.event.inputs.github_issue || '1' }}
53+
github_issue: "1"
6354
github_token: ${{ secrets.GITHUB_TOKEN }}
64-
debug: "script"
65-
video_url: ${{ github.event.inputs.video_url }}
55+
debug: "script"

.github/workflows/video-url-analyzer.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212
default: 'Analyze the video and provide a summary of its content. Extract list of followup subissues if any. The transcript is your primary source of text information, ignore text in images.'
1313
type: string
1414
permissions:
15-
contents: read
16-
issues: write
1715
models: read
1816
concurrency:
1917
group: ${{ github.workflow }}-${{ github.ref }}
@@ -36,11 +34,10 @@ jobs:
3634
--health-retries 5
3735
--health-start-period 20s
3836
steps:
39-
- uses: actions/checkout@v4
4037
- uses: actions/cache@v4
4138
with:
4239
path: .genaiscript/cache/**
43-
key: genaiscript-${{ github.run_id }}
40+
key: genaiscript-url-${{ github.run_id }}
4441
restore-keys: |
4542
genaiscript-
4643
- uses: pelikhan/action-genai-video-issue-analyzer@main

0 commit comments

Comments
 (0)