File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 with :
4343 # For cron/dispatch: check out main. For push: check out the branch.
4444 ref : ${{ github.head_ref || github.ref_name }}
45- token : ${{ secrets.GITHUB_TOKEN }}
45+ token : ${{ secrets.GOOGLEWORKSPACE_BOT_TOKEN }}
4646
4747 - name : Install Rust
4848 uses : dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
8888 (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
8989 uses : peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7
9090 with :
91+ token : ${{ secrets.GOOGLEWORKSPACE_BOT_TOKEN }}
9192 branch : chore/sync-skills
9293 title : " chore: sync skills with Discovery API"
9394 body : |
@@ -107,9 +108,11 @@ jobs:
107108 if : >-
108109 steps.diff.outputs.changed == 'true' &&
109110 github.event_name == 'push'
111+ env :
112+ GITHUB_TOKEN : ${{ secrets.GOOGLEWORKSPACE_BOT_TOKEN }}
110113 run : |
111- git config user.name "github-actions[ bot] "
112- git config user.email "github-actions[ bot] @users.noreply.github.com"
114+ git config user.name "googleworkspace- bot"
115+ git config user.email "googleworkspace- bot@users.noreply.github.com"
113116
114117 git add skills/ docs/skills.md
115118 git commit -m "chore: regenerate skills [skip ci]"
You can’t perform that action at this time.
0 commit comments