Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
self-hosted-runner:
# Labels of Compiler Explorer's self-hosted runners (see the ce-ci repository)
labels:
- ce
- small
- medium
- admin
- lin-builder
- win-builder

# Enforce shellcheck errors and warnings in embedded run: scripts, but not
# info/style — consistent with the org-wide actionlint rollout.
paths:
.github/workflows/**/*.yml:
ignore: &shellcheck-info-style
- 'shellcheck reported issue in this script: SC\d+:(info|style):'
.github/workflows/**/*.yaml:
ignore: *shellcheck-info-style
20 changes: 20 additions & 0 deletions .github/workflows/lint-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint GitHub Actions workflows

on:
push:
branches: [main]
paths: ['.github/workflows/**', '.github/actionlint.yaml']
Comment on lines +4 to +6
pull_request:
paths: ['.github/workflows/**', '.github/actionlint.yaml']

jobs:
Comment on lines +8 to +10
actionlint:
if: github.repository_owner == 'compiler-explorer'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check workflow files
uses: docker://rhysd/actionlint:1.7.12
with:
args: -color
Loading