Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f655cbb76 |
No files matched your search
@@ -63,8 +63,7 @@ jobs:
|
|||||||
github.ref == 'refs/heads/main'
|
github.ref == 'refs/heads/main'
|
||||||
runs-on: kamino-docker
|
runs-on: kamino-docker
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
# max-parallel: 1 keeps the builds to one at a time. The runner takes two jobs, so a build
|
# One job at a time on the single-capacity runner. An empty subpath means the
|
||||||
# may share it with one other job (Lint, Build or Molecule). An empty subpath means the
|
|
||||||
# repository root is the build context.
|
# repository root is the build context.
|
||||||
#
|
#
|
||||||
# base: MAJOR.MINOR of the image's semver tags, independent of the Collection's releases;
|
# base: MAJOR.MINOR of the image's semver tags, independent of the Collection's releases;
|
||||||
|
|||||||
@@ -127,8 +127,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
"$GITLEAKS" git --verbose --redact --log-opts="origin/main..$SHA"
|
"$GITLEAKS" git --verbose --redact --log-opts="origin/main..$SHA"
|
||||||
|
|
||||||
# commit-msg stage hooks do not run under --all-files.
|
# commit-msg stage hooks do not run under --all-files, so each commit's message is given to
|
||||||
- name: Check Conventional Commits
|
# every commit-msg hook (Conventional Commits, refuse-agent-trailers); --no-verify skips them locally.
|
||||||
|
- name: Check commit messages
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
env:
|
env:
|
||||||
SHA: ${{ github.event.pull_request.head.sha }}
|
SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
@@ -138,6 +139,5 @@ jobs:
|
|||||||
for sha in $(git rev-list --no-merges "origin/main..$SHA"); do
|
for sha in $(git rev-list --no-merges "origin/main..$SHA"); do
|
||||||
git log -1 --format=%B "$sha" > "$MSG_FILE"
|
git log -1 --format=%B "$sha" > "$MSG_FILE"
|
||||||
echo "Checking $sha"
|
echo "Checking $sha"
|
||||||
pre-commit run conventional-pre-commit --hook-stage commit-msg \
|
pre-commit run --hook-stage commit-msg --commit-msg-filename "$MSG_FILE"
|
||||||
--commit-msg-filename "$MSG_FILE"
|
|
||||||
done
|
done
|
||||||
@@ -47,10 +47,9 @@ jobs:
|
|||||||
(github.event_name != 'pull_request' ||
|
(github.event_name != 'pull_request' ||
|
||||||
github.event.pull_request.head.repo.full_name == github.repository)
|
github.event.pull_request.head.repo.full_name == github.repository)
|
||||||
runs-on: [kamino-molecule]
|
runs-on: [kamino-molecule]
|
||||||
# Two full runs sharing the runner (a nightly run and a dispatch) take more than 30 minutes.
|
|
||||||
# Also the age past which the sweep step removes a run's containers; a script test holds the
|
# Also the age past which the sweep step removes a run's containers; a script test holds the
|
||||||
# two equal.
|
# two equal.
|
||||||
timeout-minutes: 45
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
# The tools and collections molecule runs with: the image Lint and Build use.
|
# The tools and collections molecule runs with: the image Lint and Build use.
|
||||||
CI_IMAGE: >-
|
CI_IMAGE: >-
|
||||||
@@ -98,7 +97,7 @@ jobs:
|
|||||||
ids="$(docker ps -aq --filter 'label=net.rkdr.mortis.molecule-run')"
|
ids="$(docker ps -aq --filter 'label=net.rkdr.mortis.molecule-run')"
|
||||||
# The job's timeout-minutes (a script test holds them equal): a shorter bound would remove a
|
# The job's timeout-minutes (a script test holds them equal): a shorter bound would remove a
|
||||||
# live run's containers.
|
# live run's containers.
|
||||||
cutoff="$(date -d '45 minutes ago' +%s)"
|
cutoff="$(date -d '30 minutes ago' +%s)"
|
||||||
old=""
|
old=""
|
||||||
for id in $ids; do
|
for id in $ids; do
|
||||||
# a container removed since the listing, by its run or another run's sweep, is skipped
|
# a container removed since the listing, by its run or another run's sweep, is skipped
|
||||||
|
|||||||
@@ -46,8 +46,9 @@ held: by a control (a named hook or check), by review, or aspirational (checked
|
|||||||
`Co-Authored-By:` for an agent, a session link or any other AI trailer**
|
`Co-Authored-By:` for an agent, a session link or any other AI trailer**
|
||||||
([ai-assistance.md](docs/contributing/ai-assistance.md)).
|
([ai-assistance.md](docs/contributing/ai-assistance.md)).
|
||||||
*Reason:* AI assistance is disclosed (principle 7), and an agent is not an author (principle 1).
|
*Reason:* AI assistance is disclosed (principle 7), and an agent is not an author (principle 1).
|
||||||
*Held by:* control in part: the `refuse-agent-trailers` commit-msg hook refuses `Claude-Session:`
|
*Held by:* control in part: the `refuse-agent-trailers` commit-msg hook, re-run by the Lint
|
||||||
and a `Co-Authored-By:` naming a known agent; review for the rest and for `Assisted-by:`.
|
check, refuses `Claude-Session:` and a `Co-Authored-By:` naming a known agent;
|
||||||
|
review for the rest and for `Assisted-by:`.
|
||||||
- **On conflict with a shared rule delivered by apm, this repository's `AGENTS.md` wins.**
|
- **On conflict with a shared rule delivered by apm, this repository's `AGENTS.md` wins.**
|
||||||
*Reason:* this repository's rules are reviewed here, for this repository.
|
*Reason:* this repository's rules are reviewed here, for this repository.
|
||||||
*Held by:* aspirational.
|
*Held by:* aspirational.
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ contributor docs are held by review until an offline link check exists. Terms su
|
|||||||
History is not rewritten.
|
History is not rewritten.
|
||||||
*Reason:* a co-author trailer makes the tool an author, and a session link is private and points
|
*Reason:* a co-author trailer makes the tool an author, and a session link is private and points
|
||||||
outside this repository.
|
outside this repository.
|
||||||
*Held by:* control in part: the `refuse-agent-trailers` commit-msg hook refuses `Claude-Session:`
|
*Held by:* control in part: the `refuse-agent-trailers` commit-msg hook, re-run by the Lint
|
||||||
and a `Co-Authored-By:` naming a known agent; review for the rest.
|
check, refuses `Claude-Session:` and a `Co-Authored-By:` naming a known agent; review for the rest.
|
||||||
|
|
||||||
## What agents may do
|
## What agents may do
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user