Skip to content

Commit

Permalink
ci: specify repo write permission for sync-fork action
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool authored Jan 2, 2024
1 parent 8b24792 commit dcb824d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dcb824d

Please sign in to comment.