mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-01-25 14:44:16 +00:00
Address issues just introduced and set actionlint as a required by removing the path filter. Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
31 lines
715 B
YAML
31 lines
715 B
YAML
name: Lint GHA workflows
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
run-actionlint:
|
|
name: run-actionlint
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout the code
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Install actionlint gh extension
|
|
run: gh extension install https://github.com/cschleiden/gh-actionlint
|
|
|
|
- name: Run actionlint
|
|
run: gh actionlint
|