This doesn't work #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| issues: | |
| types: [opened] | |
| jobs: | |
| generate-text: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: vercel/ai-action@v2 | |
| id: prompt | |
| with: | |
| model: "openai/gpt-5" | |
| api-key: ${{ secrets.AI_GATEWAY_API_KEY }} | |
| prompt: | | |
| Is this an urgent issue? Say Yes if it's preventing a user from doing something critical. | |
| Issue Title: ${{ github.event.issue.title }} | |
| Issue Body: ${{ github.event.issue.body }} | |
| - run: echo ${{ steps.prompt.outputs.text }} |