mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-03-18 10:44:10 +00:00
The actionlint gh extension is outdated and the wrapping seems unnecessary when there is a github action that seems to be maintained, so let's update to use that Signed-off-by: stevenhorsman <steven@uk.ibm.com>
26 lines
608 B
YAML
26 lines
608 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
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout the code
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Run actionlint
|
|
uses: raven-actions/actionlint@e01d1ea33dd6a5ed517d95b4c0c357560ac6f518 # v2.1.1
|