Skip to content

Commit

Permalink
add: 手动触发检查issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu committed Dec 13, 2023
1 parent cb5b747 commit a76166f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/issue_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ 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:
issue_check:
Expand All @@ -18,6 +24,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.ISSUE_TOKEN }}
ISSUE_URL: ${{ github.event.issue.html_url }}
ISSUE_URL_INPUT: ${{ github.event.inputs.issue_url }}
run: |
cd ..
python issue_check.py

0 comments on commit a76166f

Please sign in to comment.