Skip to content

Convert React component to functional component #303

Convert React component to functional component

Convert React component to functional component #303

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: alexanmtz/write-code-and-create-pr-from-issue-by-chatgpt@main