Skip to content

chore: configure Laravel Moat - #10

Merged
webard merged 1 commit into
2.xfrom
chore/moat-config
Oct 11, 2026
Merged

webard merged 1 commit into
2.xfrom
chore/moat-config

Conversation

@webard

@webard webard commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Records the decision that repositories_workflow_permissions_are_restricted is switched off in Laravel Moat for this repository: write permissions are granted per job on purpose (auto-merge, changelog/release commits, publishing, deploys), and the check flags every write grant.

Copilot AI balanced review requested due to automatic review settings October 11, 2026 11:11
@webard
webard merged commit cee60f0 into 2.x Oct 11, 2026
@webard
webard deleted the chore/moat-config branch October 11, 2026 11:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The security exemption rationale should reference only write-enabled workflows that exist in this repository.

1 open finding
What changed in this PR

Configures Laravel Moat to skip its workflow-permissions check because required jobs intentionally receive write access.

Changes:

  • Adds Moat configuration disabling the check.
  • Documents the exemption rationale, though it lists nonexistent workflows.
File Description
moat.toml Configures and explains the skipped security check.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread moat.toml
Comment on lines +4 to +6
# Write permissions are granted per job on purpose (auto-merge of Dependabot PRs, changelog and
# release commits, package/image publishing, deploys, cache pruning). The workflow-level default is
# read-only. The check flags every `write` grant, so it cannot tell a needed one from an accidental one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants