Skip to content

Add a comment to code to show the AutoPR working #22

Add a comment to code to show the AutoPR working

Add a comment to code to show the AutoPR working #22

on:
issues:
types: [labeled]
issue_comment:
types: [created]
permissions:
contents: write
issues: write
pull-requests: write
jobs:
chatgpt-code-generation:
if: ${{ (github.event_name == 'issues' &&
contains( github.event.label.name, 'Code Generation')) ||
(github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
contains( github.event.comment.body, 'Generate code!')) }}
runs-on: ubuntu-latest
steps:
- name: ChatGPT Code Generation
uses: matsubo/[email protected]