Browse Source

chore: update workflows to include workflow_dispatch and add token for sync job

Jacky 2 weeks ago
parent
commit
cd719079cb
2 changed files with 2 additions and 0 deletions
  1. 1 0
      .github/workflows/documents.yml
  2. 1 0
      .github/workflows/sync-main-on-release.yml

+ 1 - 0
.github/workflows/documents.yml

@@ -1,6 +1,7 @@
 name: Build Documents
 
 on:
+  workflow_dispatch:
   push:
     branches:
       - '*'

+ 1 - 0
.github/workflows/sync-main-on-release.yml

@@ -16,6 +16,7 @@ jobs:
           fetch-depth: 0
           ref: dev
           clean: false
+          token: ${{ secrets.PAT_TOKEN }}
 
       - name: Configure Git
         run: |