File tree Expand file tree Collapse file tree 2 files changed +30
-18
lines changed
Expand file tree Collapse file tree 2 files changed +30
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : issue_check
2+
3+ on :
4+ issues :
5+ types : [opened]
6+ workflow_dispatch :
7+ inputs :
8+ issue_url :
9+ description : ' issue url'
10+ required : true
11+ default : ' https://github.com/[user]/[repo]/issues/[id]'
12+
13+ jobs :
14+ issue_check :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : prepare software
19+ run : |
20+ pip install PyGithub
21+ cd ..
22+ wget https://raw.githubusercontent.com/chenxuuu/action/main/scripts/issue_check.py
23+ - name : check issue
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.ISSUE_CHECK_TOKEN }}
26+ ISSUE_URL : ${{ github.event.issue.html_url }}
27+ ISSUE_URL_INPUT : ${{ github.event.inputs.issue_url }}
28+ run : |
29+ cd ..
30+ python issue_check.py
You can’t perform that action at this time.
0 commit comments