The GitHub Actions job "CI" on grails-core.git/ci/conserve-actions-minutes has 
failed.
Run started by GitHub user jdaugherty (triggered by jdaugherty).

Head commit for run:
8b5254ce9bd9f65529097f51f7dc6a6ecb3c80ac / James Daugherty 
<[email protected]>
[run tests] Gate CI through one policy: draft and "no ci" pull requests, and 
tests by branch and commit marker

A draft pull request runs no job of any workflow unless it carries the
"run ci" label, and a pull request labelled "no ci" runs none at all. The
check skips the policy job that every job of the CI and Groovy joint
workflows needs, and the jobs of the workflows without tests (code style,
build health, RAT, CodeQL, vulnerability scan) carry it directly. Every
pull_request trigger lists ready_for_review, which is not a default type, so
marking a draft ready starts CI.

Every workflow that runs tests now calls .github/workflows/ci-policy.yml as
its first job and gates its test jobs, and the test steps of its build jobs,
on the policy's run-tests output. On a release branch below the default
branch, and on a pull request whose base is a side branch rather than a
release branch, the tests run only when the commit message starts with
[run tests]; on the default branch and every release branch above it they
run unless it starts with [skip tests]. The policy reads the head commit of a 
pull request or a
dispatched branch through the API, so the markers now work on pull requests
too; the github.event.head_commit.message test it replaces is empty on
pull_request events, so every pull request ran the tests whatever the
message said. The decision and its reason are written to the job summary.

Documented as rule 14 and the "CI policy" section of AGENTS.md, and in the
"Continuous Integration" section of CONTRIBUTING.md.

Report URL: https://github.com/apache/grails-core/actions/runs/39269741990

With regards,
GitHub Actions via GitBox

Reply via email to