From b25470dded1bb7298949d3e285e393961b704cfd Mon Sep 17 00:00:00 2001 From: sotashimozono Date: Tue, 29 Sep 2026 03:54:30 +0000 Subject: [PATCH] lint: run actionlint on every pull request, so it can be the required check It ran only when a PR touched .github/workflows/** or actions/**. The repo requires a PR but no check at all (#25), and requiring actionlint as it was would leave a README-only PR (e.g. #28) unmergeable forever, since the check never reports. It takes seconds on a hosted runner. Refs #25 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/lint.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 155fe12..7b2665d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,8 +3,10 @@ on: push: branches: [main] paths: ['.github/workflows/**', 'actions/**'] + # Every pull request, not only those touching workflows: `actionlint` is this repo's required + # check, and a required check that a README-only PR never runs leaves that PR unmergeable. + # It takes seconds on a hosted runner. pull_request: - paths: ['.github/workflows/**', 'actions/**'] permissions: contents: read jobs: