From dcb824d70a8db14fd435471029753692f8615a18 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Tue, 2 Jan 2024 10:30:28 -0500 Subject: [PATCH] ci: specify repo write permission for sync-fork action --- .github/workflows/sync-fork.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml index df759ea..c8dc9ff 100644 --- a/.github/workflows/sync-fork.yml +++ b/.github/workflows/sync-fork.yml @@ -2,12 +2,15 @@ name: Sync Fork on: schedule: - - cron: '0 0 * * *' # once every day + - cron: '0 11 * * *' # once every day workflow_dispatch: # on button click push: paths: - .github/workflows/sync-fork.yml +permissions: + contents: write + env: GH_TOKEN: ${{ github.token }} FORK_OWNER: NCIPangea