mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
+ 给所有 ci 文件的每一个 step 都添加了名字,并且做了格式化 + 修复 pr-checker 的触发机制 + 给 pr-checker 添加了 issue 评论,现在不合规的 commit 将会由 github-action bot 做出评论
25 lines
518 B
YAML
25 lines
518 B
YAML
name: "Issue Checker"
|
|
on:
|
|
issues:
|
|
types: [opened, edited]
|
|
pull_request_target:
|
|
types: [opened, edited]
|
|
issue_comment:
|
|
types: [created, edited]
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
triage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: zzyyyl/issue-checker@v1.7
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
configuration-path: .github/issue-checker.yml
|
|
not-before: 2022-08-05T00:00:00Z
|
|
include-title: 1
|