Skip to content

Commit

Permalink
fix(schema): git isn't in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed May 3, 2024
1 parent b2214ca commit 9018cd9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
shell: bash
run: |
sudo apt-get -qq update && \
sudo apt-get -qq install --no-install-recommends -y curl unzip
sudo apt-get -qq install --no-install-recommends -y curl unzip git
- name: Setup Flux CLI
uses: fluxcd/flux2/action@main
Expand All @@ -53,6 +53,18 @@ jobs:
encodedString: ${{ secrets.KUBECONFIG }}
fileName: kubeconfig

- 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: Download and run crd-extractor
env:
KUBECONFIG: "${{ steps.kubeconfig.outputs.filePath }}"
Expand Down

0 comments on commit 9018cd9

Please sign in to comment.