The GitHub Action `pkgcore/pkgcheck-action` injects default parameters like `--exit GentooCI` which can interfere with our desired setup. By explicitly defining `args` for checks, keywords, and exit conditions, we ensure the default action parameters do not override our configuration. Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
22 lines
413 B
YAML
22 lines
413 B
YAML
name: pkgcheck
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Run pkgcheck
|
|
uses: pkgcore/pkgcheck-action@v1
|
|
with:
|
|
args: --checks=-RedundantVersionCheck --keywords=-NonsolvableDepsInDev --exit=NonexistentDeps
|