Skip to content

Fix where the action should live and setup ci #1

Fix where the action should live and setup ci

Fix where the action should live and setup ci #1

Workflow file for this run

# Copyright 2023 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
name: ActionLint
on:
pull_request:
branches:
- 'main'
jobs:
action-lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- id: get_yamls
run: |
yamls=$(find . -name "*.yaml" -iname '.chainguard/source.yaml')
echo "files="${yamls}"" >> $GITHUB_OUTPUT
- uses: reviewdog/action-actionlint@v1
with:
actionlint_flags: ${{ steps.get_yamls.outputs.files }}