diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3c6ed1b..ad494b0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,9 +1,11 @@ name: Check macro -# The macro goes live in every course when main changes, so every push and -# pull request checks it first. +# The macro goes live in every course when main changes, so every pull +# request checks it first, and main again after the merge. (A pull request's +# branch runs once, as pull_request.) on: push: + branches: [main] pull_request: permissions: diff --git a/README.md b/README.md index 4101f20..2a7e330 100644 --- a/README.md +++ b/README.md @@ -781,8 +781,8 @@ https://liascript.github.io/LiveEditor/?/show/file/https://raw.githubusercontent ``` `node scripts/check-macro.mjs` checks the syntax of the template's `