Skip to content
check-circle

GitHub Action

Auto Close Issue

v1.0.0 Latest version

Auto Close Issue

check-circle

Auto Close Issue

Review and automatically close issues through OpenAI

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Auto Close Issue

uses: mihomo-party-org/[email protected]

Learn more about this action in mihomo-party-org/auto-close-issue

Choose a version

Auto Close Issue

Usage

name: Auto Close Issue
on:
  issues:
    types: [opened]

jobs:
    auto_close_issue:
        runs-on: ubuntu-latest
        steps:
        - name: Auto Close Issue
            uses: mihomo-party-org/auto-close-issue@main
            with:
                token: ${{ secrets.GITHUB_TOKEN }}
                url: 'https://api.openai.com'
                key: 'sk-xxxxxx'
                prompt: 'xxxxxx'