blob: 56083299f6114d39e52a9bd2588f8c3d9b73b963 [file] [edit]
{
"version": 2,
"repositories": {
"ruff": {
"name": "astral-sh/ruff",
"id": 523043277,
"oidc_subject": "legacy"
},
"ruff-security": {
"name": "astral-sh/ruff-security",
"id": 1373465128,
"oidc_subject": "immutable",
"owner_id": 115962839
}
},
"rules": [
{
"caller": "ruff",
"environment": "automations",
"caller_workflow": "sync-ruff-security.yml",
"on": ["push", "workflow_dispatch"],
"permissions": { "contents": "write", "workflows": "write" },
"target": "ruff-security"
},
{
"caller": "ruff",
"environment": "automations",
"caller_workflow": "release-prepare.yml",
"on": ["workflow_dispatch"],
"permissions": { "contents": "write", "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "release",
"caller_workflow": "release.yml",
"on": ["workflow_dispatch"],
"permissions": { "contents": "write", "workflows": "write" },
"target": "ruff"
}
]
}