Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/sync-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
# 00:00 Israel Time (UTC+3, IDT)
- cron: '0 21 * * *'

permissions:
contents: write

jobs:
sync:
name: Sync
Expand All @@ -19,6 +16,10 @@ jobs:
with:
ref: next
fetch-depth: 0

# We're using a deploy key here to be able to override the the branch protection rules.
# Force push is only allowed for admins, and the default `GITHUB_TOKEN` doesn't have admin
# permissions, and it can't be added to the bypass list, while a deploy key can.
ssh-key: ${{ secrets.DEPLOY_KEY }}
persist-credentials: false

Expand Down
Loading