add ci cfg

This commit is contained in:
autumn 2024-10-09 11:44:29 +08:00
parent 035d13e52c
commit e7364b090a

View File

@ -7,7 +7,8 @@ on:
pull_request: pull_request:
branches: branches:
- main # 当对 main 分支创建 PR 时触发 - main # 当对 main 分支创建 PR 时触发
permissions:
contents: write # 允许对代码库的写入权限
jobs: jobs:
run-script: run-script:
runs-on: ubuntu-latest # 使用最新的 Ubuntu 运行环境 runs-on: ubuntu-latest # 使用最新的 Ubuntu 运行环境