Skip to content

Commit bdba854

Browse files
authored
Update Custom_Build.yml
1 parent fa45fd2 commit bdba854

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/Custom_Build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Sync Immich Upstream Release and Build Images
22

33
on:
44
schedule:
5-
# Adjust cron schedule as needed. This runs every 6 hours.
6-
# See https://crontab.guru/ for help
75
- cron: '0 */6 * * *'
8-
workflow_dispatch: # Allows manual triggering from the Actions tab
6+
workflow_dispatch:
97
inputs:
108
force_run:
119
description: 'Force sync and build for the latest upstream release, even if previously processed.'
@@ -16,11 +14,11 @@ on:
1614
required: false
1715
type: string
1816

19-
# These permissions are crucial
2017
permissions:
21-
contents: write # To push to the dockerimageML branch in this (aviv926/immich) repository
18+
contents: write # To push to the dockerimageML branch (non-workflow files)
2219
packages: write # To push Docker images to GHCR
23-
actions: read # To read cache, octokit/request-action needs this for GITHUB_TOKEN
20+
actions: read # For API calls by determine_tag step, and cache
21+
workflows: write # <--- ADD THIS LINE: To allow GITHUB_TOKEN to push workflow files
2422

2523
jobs:
2624
sync_and_build:

0 commit comments

Comments
 (0)