关于快捷发送的“添加新项目”和“删除最后一项”按钮的优化建议 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
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.ISSUE_TOKEN }} | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
ISSUE_URL_INPUT: ${{ github.event.inputs.issue_url }} | |
run: | | |
cd .. | |
python issue_check.py |