16 lines
450 B
YAML
16 lines
450 B
YAML
# If the repository is public, be sure to change to GitHub hosted runners
|
|
name: Lint GitHub Actions Workflows
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.github/workflows/**'
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
actionlint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
|
- name: "Check workflow files"
|
|
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest
|