Skip to content

添加一个窗口置顶功能。 #9

添加一个窗口置顶功能。

添加一个窗口置顶功能。 #9

Workflow file for this run

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