ci: centralize organization workflow lint #4

Merged
KofTwentyTwo merged 2 commits from feature/central-ci into main 2026-10-21 01:26:37 +00:00
2 changed files with 14 additions and 18 deletions

No files matched your search

-18
View File
@@ -1,18 +0,0 @@
# The org's CircleCI GitHub App builds every repository; without a config this repository
# reported "No configuration was found" as an error on every commit. Lint the workflows instead.
version: 2.1
jobs:
actionlint:
docker:
- image: cimg/go:1.24
steps:
- checkout
- run:
name: Lint GitHub Actions workflows
command: go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.7 -color .github/workflows/*.yml
workflows:
lint:
jobs:
- actionlint
+14
View File
@@ -0,0 +1,14 @@
name: Workflow lint
'on':
push:
branches:
- '**'
pull_request: null
workflow_dispatch: null
permissions:
contents: read
jobs:
actionlint:
uses: QRun-IO/qqq-orb/.github/workflows/workflow-lint.yml@bfd41c8e0d9adb6ee25f3cc8f7f2eb7da9b28d3c
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name
!= github.repository