Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<repo>/community/profile` (contributing, code of conduct, templates) and
`gh api graphql -f query='{repository(owner:"tenavu",name:"<repo>"){isSecurityPolicyEnabled securityPolicyUrl}}'`,
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
|---|---|---|
Expand All @@ -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@<commit SHA> # main, <date>
uses: tenavu/.github/.github/workflows/mule-extension.yml@<commit SHA of the tag> # vX.Y.Z
permissions:
contents: read
```
Expand Down