
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
CLI utilities for GitHub CI automation. Replaces inline YAML scripts with tested, versioned Node.js commands.
npm install @qvac/ci
Or run directly in a GitHub Actions step:
npx @qvac/ci <command> [flags]
pending-approvalsChecks whether a PR has the required approvals from the right roles (Management, Team Lead, Member) and upserts a ## Review Status comment on the PR summarising the current state.
Always exits 0 — informational only. Merge enforcement is handled by GitHub-native branch protection (CODEOWNERS + ruleset requirements).
Deprecated: This command will be removed after the Tier 1 approval migration to native GitHub controls is complete.
qvac-ci pending-approvals \
--pr-number 123 \
--maintainers-team management \
--team-leads-team team-leads \
--min-approvals 2
Flags:
| Flag | Description | Default |
|---|---|---|
--pr-number | PR number to check (required) | — |
--repo | owner/repo string | $GITHUB_REPOSITORY |
--maintainers-team | GitHub team slug for Management (required) | — |
--team-leads-team | GitHub team slug for Team Leads (required) | — |
--min-approvals | Minimum total approvals required | 2 |
Required environment variables:
| Variable | Description |
|---|---|
GITHUB_TOKEN | Token used to post the review-status comment |
GITHUB_APP_ID | GitHub App ID for team membership resolution |
GITHUB_PRIVATE_KEY | GitHub App private key (PEM) |
Secrets are env-only — no --token flags — to prevent tokens from appearing in the process list or CI logs.
Example GitHub Actions step:
- name: Check PR approvals
env:
GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}
GITHUB_APP_ID: ${{ secrets.APP_ID }}
GITHUB_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
run: |
npx @qvac/ci pending-approvals \
--pr-number ${{ github.event.pull_request.number }} \
--maintainers-team management \
--team-leads-team team-leads \
--min-approvals 2
lib/commands/<name>/index.js — extend Command, implement toCommand() and _run().lib/commands/<name>/helpers.js — domain logic. Read secrets from process.env; never pass them as parameters. Export a mutable helpers object so tests can stub methods without a mock framework.lib/commands/index.js — add an explicit import and push .toCommand() to the commands array. main.js spreads the array.test/unit/<name>/index.test.js and test/unit/<name>/helpers.test.js. Mock all network calls.npm install
npm test
npm run lint
npm run lint:fix
Node.js >=18.0.0
Apache-2.0
FAQs
CI utilities for the QVAC monorepo
The npm package @qvac/ci receives a total of 980 weekly downloads. As such, @qvac/ci popularity was classified as not popular.
We found that @qvac/ci demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.