Skip to content

Commit

Permalink
add Artifact Hub linter as a job (#1046)
Browse files Browse the repository at this point in the history
* add Artifact Hub linter as a job

Signed-off-by: chipzoller <[email protected]>

* with path

Signed-off-by: chipzoller <[email protected]>

* root

Signed-off-by: chipzoller <[email protected]>

---------

Signed-off-by: chipzoller <[email protected]>
  • Loading branch information
chipzoller authored Jun 5, 2024
1 parent c69eca8 commit d6950b7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ concurrency:
cancel-in-progress: true

jobs:
artifacthub-lint:
runs-on: ubuntu-latest
container:
image: artifacthub/ah
options: --user root
steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: policies
- name: Run ah lint
working-directory: .
run: ah lint -k kyverno
test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d6950b7

Please sign in to comment.