Skip to content

remove unnecessary env group #820

remove unnecessary env group

remove unnecessary env group #820

name: Guard API Key Leak
on: {}
jobs:
detect-key-leak:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: yarn build
run: yarn && yarn build
working-directory: ./generator/konfig-dash
env:
# required to avoid `Usage Error: Environment variable not found (NPM_TOKEN)`
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Detect API key leaks
run: ./generator/konfig-dash/bash-scripts/guard-api-key-leak.sh