From 8a5681db33e59d4e6fca6dffaac5b7dae54065a0 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Thu, 19 Feb 2026 06:21:26 +0300 Subject: [PATCH] fix: use GITHUB_TOKEN instead of PAT_TOKEN for branch sync --- .github/workflows/sync-branches.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-branches.yml b/.github/workflows/sync-branches.yml index 54f4786..34f4493 100644 --- a/.github/workflows/sync-branches.yml +++ b/.github/workflows/sync-branches.yml @@ -9,12 +9,14 @@ on: jobs: sync: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.PAT_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Sync branches run: |