Skip to content

Commit

Permalink
add: issue检查
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu committed Dec 7, 2023
1 parent d91d2a6 commit 8ff470b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/issue.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/issue_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: issue_check

on:
issues:
types: [opened]

jobs:
ssh:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: prepare software
run: |
pip install PyGithub
cd ..
wget https://raw.githubusercontent.com/chenxuuu/action/main/scripts/issue_check.py
- name: check issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_URL: ${{ github.event.issue.html_url }}
run: |
cd ..
python issue_check.py

0 comments on commit 8ff470b

Please sign in to comment.