Update sync.yml to include permissions

Added permissions for write access to contents and pull requests.
This commit is contained in:
vijaychandar186 2026-03-30 02:38:47 -04:00 committed by GitHub
parent ab9eb68434
commit c56d15e83d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,9 +2,13 @@ name: Sync Fork
on:
schedule:
- cron: '0 3 * * *' # once daily at 03:00 UTC
- cron: '0 3 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
sync:
runs-on: ubuntu-latest