diff --git a/AGENTS.md b/AGENTS.md index 1245a0a..c752e93 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,8 +24,11 @@ Article: none - Required checks on `main`: `brand`, `workflows / lint`. Renaming a job changes the ruleset - Deliver and verify: a merge into `main` is live, except a `workflow_call` file, which reaches a repository only when it re-pins. Before merging a change to one, get a green run of a caller branch - pinned to the new commit; after merging, re-pin each caller (`tenavu-logger` calls all three, - `tenavu-contract` calls `actionlint.yml`) and check its run on `main`. For the rest, check, + pinned to the new commit; after merging, the owner tags that commit with the next `vX.Y.Z` (major + when an input or a job name changes; a `v*` tag cannot be moved or deleted), each caller + (`tenavu-logger` calls all three, `tenavu-contract` calls `actionlint.yml`) takes it from its + Dependabot pull request, or is re-pinned by hand when it cannot wait, and its run on `main` is + checked. For the rest, check, for `tenavu-logger` and `tenavu-contract`, `gh api repos/tenavu//community/profile` (contributing, code of conduct, templates) and `gh api graphql -f query='{repository(owner:"tenavu",name:""){isSecurityPolicyEnabled securityPolicyUrl}}'`, diff --git a/README.md b/README.md index 792fe0f..ae57c89 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,10 @@ never inherited: each repository carries its own. None takes a secret, by decision: a public repository holds no MuleSoft EE credential, tests run on the CE runtime, and a pull request from a fork runs the same checks (after a maintainer approves a first-time contributor's run). Call them from a job -under `on: pull_request` and `push` to `main`, pinned by the full commit SHA, with -`permissions: { contents: read }` on the job. +under `on: pull_request` and `push` to `main`, pinned by the full commit SHA of a version tag of +this repository, with the tag in a comment on the same line, and +`permissions: { contents: read }` on the job. Dependabot proposes the next tag to a pin on a +tagged commit, and rewrites the tag in the comment. | Workflow | What it runs | Check name | |---|---|---| @@ -35,7 +37,7 @@ under `on: pull_request` and `push` to `main`, pinned by the full commit SHA, wi ```yaml jobs: build: - uses: tenavu/.github/.github/workflows/mule-extension.yml@ # main, + uses: tenavu/.github/.github/workflows/mule-extension.yml@ # vX.Y.Z permissions: contents: read ```