We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7222371 + 955d3ba commit 43b3a3aCopy full SHA for 43b3a3a
2 files changed
.github/workflows/issue.yml
.github/workflows/issue_check.yml
@@ -0,0 +1,30 @@
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
29
30
+ python issue_check.py
0 commit comments