Skip to content

Commit

Permalink
Create CloseIssue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dqzboy authored Feb 22, 2024
1 parent f9a5994 commit 901ae40
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/CloseIssue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CloseIssue

on:
workflow_dispatch:
issues:
types: [opened]

jobs:
run-python-script:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install Dependencies
run: pip install requests

- name: Run close_issue.py Script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python .github/close_issue.py

0 comments on commit 901ae40

Please sign in to comment.