chore(workflow): 更新 GitHub Actions 工作流配置

- 移除 auto-tag 工作流中的 ref 参数配置
- 清理工作流中多余的检查跳过关键词步骤
- 为 ci 工作流添加内容读取权限配置
- 优化工作流触发条件和权限设置
This commit is contained in:
GeWuYou 2026-01-29 12:42:22 +08:00
parent 411cac4028
commit d5b05c1578
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.workflow_run.head_sha }}
persist-credentials: false
- name: Check for skip keyword

View File

@ -8,6 +8,9 @@ on:
pull_request:
branches: [ main, master ]
permissions:
contents: read
jobs:
test:
name: Build and Test