diff --git a/.github/workflows/code-gen.yaml b/.github/workflows/code-gen.yaml index db3705a52..01c472dbc 100644 --- a/.github/workflows/code-gen.yaml +++ b/.github/workflows/code-gen.yaml @@ -29,6 +29,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: 'lts/*' + - name: Reconfigure git to use HTTP authentication + run: | + git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf ssh://git@github.com/ - uses: subosito/flutter-action@v2 with: channel: 'stable'