diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 34b68ca..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/workflow-lint.yml b/.github/workflows/workflow-lint.yml new file mode 100644 index 0000000..74fd0d0 --- /dev/null +++ b/.github/workflows/workflow-lint.yml @@ -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