Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
use auto-close-issues action
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Oct 23, 2024
1 parent 4cea742 commit 1adc7fa
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@ jobs:
close:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Auto Close Issue
uses: mihomo-party-org/auto-close-isssues@main
with:
repository: mihomo-party-org/auto-close-isssues

- uses: actions/setup-go@v5
with:
go-version: '1.23'
- env:
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_BODY: ${{ github.event.issue.body }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.POMPURIN404_TOKEN }}
API_URL: ${{ secrets.OPENAI_BASE_URL }}
API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: go run main.go
title: ${{ github.event.issue.title }}
body: ${{ github.event.issue.body }}
number: ${{ github.event.issue.number }}
token: ${{ secrets.POMPURIN404_TOKEN }}
url: ${{ secrets.OPENAI_BASE_URL }}
key: ${{ secrets.OPENAI_API_KEY }}
prompt: ${{ vars.OPENAI_SYSTEM_PROMPT }}

0 comments on commit 1adc7fa

Please sign in to comment.