HomeConnect API unexpected values (CT836LEB6/09) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |