默认fromHex()脚本,会吞掉显示界面HEX格式的部分ASCII字符0x20,0x0D,0x0A等 #7
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 |