fix: use PAT for reading from influxdb3_plugins

jmercer/complete-plugin-sync-fix
meelahme 2025-11-10 08:56:21 -08:00
parent 79e5e20506
commit d645e75215
1 changed files with 9 additions and 5 deletions

View File

@ -80,11 +80,15 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout influxdb3_plugins (sparse) - name: Checkout influxdb3_plugins (sparse)
run: | uses: actions/checkout@v4
git clone --filter=blob:none --sparse https://github.com/influxdata/influxdb3_plugins.git .ext/influxdb3_plugins with:
cd .ext/influxdb3_plugins repository: influxdata/influxdb3_plugins
git sparse-checkout set influxdata/ scripts/ token: ${{ secrets.PLUGINS_CONTENT_READ_TOKEN }}
git checkout ${{ steps.inputs.outputs.source_commit }} path: .ext/influxdb3_plugins
sparse-checkout: |
influxdata/
scripts/
ref: ${{ steps.inputs.outputs.source_commit }}
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4