Skip to content

HomeConnect API unexpected values (CT836LEB6/09) #12

HomeConnect API unexpected values (CT836LEB6/09)

HomeConnect API unexpected values (CT836LEB6/09) #12

name: Validate 'api keys/values' Issue
on:
issues:
types: [opened]
workflow_dispatch:
jobs:
validate-api-keys:
if: (github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'api keys/values')) ||
(github.event_name == 'workflow_dispatch')
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Run the validation script
run: npx tsx bin/issue-api-keys.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}