Skip to content
Open
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
33 changes: 33 additions & 0 deletions .github/repo_policies/BOT_APPROVED_FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Files the release automation is allowed to change.
#
# The Cut release workflow opens its pull request as github-actions, so every
# file in that pull request has to match a pattern below or the Check Bot
# Policies job blocks it. `release prepare` writes a version and a changelog per
# released project and nothing else, so this list is those paths.
#
# Patterns are fnmatch, not glob, so `*` also matches `/`.
#
# Deliberately absent: .github/**. A bot pull request must not be able to change
# a workflow, an action, or this file.

.release.json
Cargo.lock

# Version and changelog per released project.
apps/*/CHANGELOG.md
apps/*/package.json
core/*/*/CHANGELOG.md
core/*/*/Cargo.toml
docs/CHANGELOG.md
docs/package.json
libs/*/CHANGELOG.md
libs/*/Cargo.toml
tools/*/CHANGELOG.md
tools/*/Cargo.toml

# Test crates are not released, but their dependency versions bump with the
# crates above. The pattern spans nested paths because fnmatch `*` matches `/`.
tests/*/Cargo.toml

# The station API versions the wallet declares support for.
apps/wallet/public/compat.json
Loading