From 955d3ba9edd33b70867e664e75738d38c74bd1f8 Mon Sep 17 00:00:00 2001 From: chenxuuu Date: Wed, 13 Dec 2023 16:45:56 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E6=89=8B=E5=8A=A8=E6=A3=80=E6=9F=A5issu?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue_check.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/issue_check.yml b/.github/workflows/issue_check.yml index 93642ca..bd0bba3 100644 --- a/.github/workflows/issue_check.yml +++ b/.github/workflows/issue_check.yml @@ -3,9 +3,15 @@ name: issue_check on: issues: types: [opened] + workflow_dispatch: + inputs: + issue_url: + description: 'issue url' + required: true + default: 'https://github.com/[user]/[repo]/issues/[id]' jobs: - ssh: + issue_check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -18,6 +24,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.ISSUE_CHECK_TOKEN }} ISSUE_URL: ${{ github.event.issue.html_url }} + ISSUE_URL_INPUT: ${{ github.event.inputs.issue_url }} run: | cd .. python issue_check.py