From cfca74a824abcd00d46f1131f78b8271c346a646 Mon Sep 17 00:00:00 2001 From: mPokornyETM <89339813+mPokornyETM@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:40:39 +0000 Subject: [PATCH] chore(template): sync gh org files to repository --- .github/workflows/sync-org-files.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync-org-files.yml b/.github/workflows/sync-org-files.yml index 5c0a40d..1bb1fb8 100644 --- a/.github/workflows/sync-org-files.yml +++ b/.github/workflows/sync-org-files.yml @@ -6,14 +6,13 @@ on: - cron: "15 6 * * 1-5" workflow_dispatch: -# Top‑level permissions — required for modifying workflow files permissions: contents: write pull-requests: write - issues: write jobs: sync: + # Correct reference and use a valid ref (main or a tag) uses: winccoa-tools-pack/.github/.github/workflows/template-sync-reusable.yml@main with: template_repo: "winccoa-tools-pack/.github" @@ -26,9 +25,8 @@ jobs: LICENSE # Add more paths you want from the org .github repo pr_title: "chore(template): sync gh org files to repository" - pr_body: "Automated sync from organisation repository." + pr_body: "Automated sync from org template repository." pr_labels: "sync, automated" # pr_reviewers: "REPLACE_WITH_REAL_USERS_OR_TEAMS" branch_prefix: "chore/org-sync" - secrets: - token: ${{ secrets.TEMPLATE_SYNC_PAT }} \ No newline at end of file + secrets: inherit \ No newline at end of file