diff --git a/.github/workflows/schemas.yaml b/.github/workflows/schemas.yaml index e92b6718c2..5b429431ea 100644 --- a/.github/workflows/schemas.yaml +++ b/.github/workflows/schemas.yaml @@ -93,6 +93,18 @@ jobs: runs-on: ubuntu-latest needs: ["publish-kubernetes-schemas"] steps: + - name: Generate Token + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: "${{ secrets.BOT_APP_ID }}" + private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" + + - name: Checkout + uses: actions/checkout@v4 + with: + token: "${{ steps.app-token.outputs.token }}" + - name: Setup Flux CLI uses: fluxcd/flux2/action@main with: