Change default allowed domains to wildcard (*) for convenience while maintaining domain filtering capability #578
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
name: issue ai inference | |
on: | |
workflow_dispatch: | |
issue_comment: | |
types: [created, edited] | |
permissions: | |
models: read | |
issues: write | |
concurrency: | |
group: ai-inference-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ai: | |
runs-on: ubuntu-latest | |
steps: | |
- id: inference | |
uses: actions/ai-inference@v1 | |
with: | |
prompt: | | |
You are a genius software engineer. Read the issue comment and respond: | |
${{ github.event.issue.body }} | |
- name: use response file | |
run: | | |
echo "Response saved to: ${{ steps.inference.outputs.response-file }}" | |
gh issue comment ${{ github.event.issue.number }} -F "${{ steps.inference.outputs.response-file }}" |