From dcde5d86a1938001d9115ea314d95dfd6ce565b7 Mon Sep 17 00:00:00 2001 From: popcorny Date: Thu, 23 May 2024 16:14:10 +0800 Subject: [PATCH] test permission Signed-off-by: popcorny --- .github/workflows/recce-prsync.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/recce-prsync.yml b/.github/workflows/recce-prsync.yml index 867d55ede..5692833d3 100644 --- a/.github/workflows/recce-prsync.yml +++ b/.github/workflows/recce-prsync.yml @@ -4,6 +4,7 @@ name: OSO Recce PR Sync on: workflow_dispatch: + push: schedule: - cron: '30 17 * * *' # run at 1:30 AM (UTC + 8) everyday @@ -33,6 +34,7 @@ jobs: - name: Run pysync env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ sercrets.GH_TOKEN_FOR_ADVANCED_PERMISSIONS }} run: | prsync 'DataRecce/oso'