diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 257b4e816..97e41dd07 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,9 +7,6 @@ on: pull_request: paths: - '**opam' - push: - paths: - - '**opam' jobs: lint: @@ -31,7 +28,7 @@ jobs: ocaml-compiler: 5 - name: Install opam-ci-check - run: opam pin opam-ci-check https://github.com/shonfeder/opam-repo-ci.git#411/archive-lint + run: opam pin opam-ci-check https://github.com/ocurrent/opam-repo-ci.git#live # Get the names of the packages being added to the archive, and feed these # to opam-ci-check @@ -39,5 +36,4 @@ jobs: run: | git diff --name-only origin/main packages \ | sed 's:.*/\(.*\)/opam:\1:' \ - | xargs --max-lines=1 --max-procs=4 opam exec -- opam-ci-check lint -r . --checks=archive-repo \ - | grep "Error in" + | xargs --max-lines=1 --max-procs=4 opam exec -- opam-ci-check lint -r . --checks=archive-repo --quiet