mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-24 20:34:29 +08:00
chore(workflow): 更新 GitHub Actions 工作流配置
- 移除 auto-tag 工作流中的 ref 参数配置 - 清理工作流中多余的检查跳过关键词步骤 - 为 ci 工作流添加内容读取权限配置 - 优化工作流触发条件和权限设置
This commit is contained in:
parent
411cac4028
commit
d5b05c1578
1
.github/workflows/auto-tag.yml
vendored
1
.github/workflows/auto-tag.yml
vendored
@ -26,7 +26,6 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.workflow_run.head_sha }}
|
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Check for skip keyword
|
- name: Check for skip keyword
|
||||||
|
|||||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -8,6 +8,9 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, master ]
|
branches: [ main, master ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Build and Test
|
name: Build and Test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user