Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/generate-hacs-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,17 @@ jobs:
scripts/install/frontend
scripts/install/pip_packages --requirement requirements_generate_data.txt

- name: Generate app token
id: token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.DATA_GENERATOR_APP_CLIENT_ID }}
private-key: ${{ secrets.DATA_GENERATOR_APP_PEM }}

- name: Generate ${{ matrix.category }} data
run: python3 -m scripts.data.generate_category_data ${{ matrix.category }}
env:
DATA_GENERATOR_TOKEN: ${{ secrets.DATA_GENERATOR_TOKEN }}
DATA_GENERATOR_TOKEN: ${{ steps.token.outputs.token }}
FORCE_REPOSITORY_UPDATE: ${{ inputs.forceRepositoryUpdate }}

- name: Validate output with JQ
Expand Down
Loading