Skip to content

Update Actions (major) #350

Update Actions (major)

Update Actions (major) #350

Workflow file for this run

name: CI
"on":
pull_request:
push:
branches: [main]
jobs:
lint-unit:

Check failure on line 9 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 9, Col: 3): Error calling workflow 'sous-chefs/.github/.github/workflows/lint-unit.yml@3.0.0'. The nested job 'check-metadata' is requesting 'checks: write, pull-requests: write, statuses: write', but is only allowed 'checks: none, pull-requests: none, statuses: none'.
uses: sous-chefs/.github/.github/workflows/lint-unit.yml@3.0.0
with:
gems: "hcl-checker"
integration:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
os:
- almalinux-8
- amazonlinux-2
- centos-7
- centos-stream-8
- debian-10
- debian-11
- fedora-latest
- rockylinux-8
- ubuntu-1804
- ubuntu-2004
suite:
- server-json
- server-hcl
- server-hcl-ark
- agent-json
- agent-hcl
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install Chef
uses: actionshub/chef-install@3.0.0
- name: Dokken
uses: actionshub/test-kitchen@3.0.0
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}