fix: no need set permissions here

This commit is contained in:
旋律已经死了。
2025-07-15 14:36:45 +08:00
committed by JohnsonRan
parent 9709320ea9
commit a74136ee1e
2 changed files with 1 additions and 9 deletions

View File

@@ -5,11 +5,6 @@ on:
branches: branches:
- main - main
# 写入/读取 package 权限,用于推送到 GHCR (ghcr.io)
permissions:
contents: read
packages: write
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -1,8 +1,5 @@
name: Upstream Sync name: Upstream Sync
permissions:
contents: write
on: on:
schedule: schedule:
- cron: "0 */6 * * *" # run every 6 hours - cron: "0 */6 * * *" # run every 6 hours