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:
- main
# 写入/读取 package 权限,用于推送到 GHCR (ghcr.io)
permissions:
contents: read
packages: write
jobs:
build-and-push:
runs-on: ubuntu-latest

View File

@@ -1,8 +1,5 @@
name: Upstream Sync
permissions:
contents: write
on:
schedule:
- cron: "0 */6 * * *" # run every 6 hours
@@ -41,4 +38,4 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 2
keep_minimum_runs: 2