Skip to content

Commit a0f83f8

Browse files
samcxijjk
andauthored
chore(github): initialize triage_with_ai.yml workflow again (#68292)
## Why? There is no way to test opening an issue without clever hacks. So need to initialize again to see the payload object, which will be necessary when I set up a Tool Call → Zod Schema with the :ai-stonks: SDK. --------- Co-authored-by: JJ Kasper <[email protected]>
1 parent c908bc4 commit a0f83f8

File tree

6 files changed

+2047
-715
lines changed

6 files changed

+2047
-715
lines changed

.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/next-repo-actions/dist/triage-issues-with-ai/licenses.txt

Lines changed: 457 additions & 0 deletions
Large diffs are not rendered by default.

.github/actions/next-repo-actions/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
"dependencies": {
1313
"@actions/core": "^1.10.1",
1414
"@actions/github": "6.0.0",
15+
"@ai-sdk/openai": "^0.0.40",
1516
"@slack/web-api": "^7.0.4",
16-
"slack-block-builder": "^2.8.0"
17+
"ai": "^3.2.38",
18+
"slack-block-builder": "^2.8.0",
19+
"zod": "^3.23.8"
1720
},
1821
"devDependencies": {
1922
"@vercel/ncc": "^0.38.1"
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { info } from '@actions/core'
2+
import { context } from '@actions/github'
23

34
async function main() {
4-
info('Triaging issues with AI!')
5+
const issue = context.payload.issue
6+
info(`Issue: ${issue}`)
7+
info(`Issue: ${JSON.stringify(issue, null, 2)}`)
58
}
69

710
main()

0 commit comments

Comments
 (0)