2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

ci: 优化工作流权限

This commit is contained in:
2025-08-08 18:48:42 +08:00
parent 726e937779
commit 1beb2b26b7
4 changed files with 8 additions and 8 deletions

View File

@@ -1,11 +1,11 @@
name: Build
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
frontend:
runs-on: ubuntu-latest

View File

@@ -3,10 +3,10 @@ on:
push:
branches:
- main
permissions:
contents: write
jobs:
l10n:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout code

View File

@@ -3,11 +3,11 @@ on:
push:
branches:
- main
permissions:
contents: write
jobs:
mockery:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4

View File

@@ -1,11 +1,11 @@
name: Test
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
unit:
runs-on: ubuntu-latest