Skip to content

Commit 1b18dc6

Browse files
authored
authorize astral-sh/ruff to dispatch the sync workflow (#182)
This will support us migrating the dispatcher from a personal access token to OIDC
1 parent b00ddae commit 1b18dc6

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"version": 2,
3+
"repositories": {
4+
"ruff-pre-commit": {
5+
"name": "astral-sh/ruff-pre-commit",
6+
"id": 538784618,
7+
"oidc_subject": "legacy"
8+
},
9+
"ruff": {
10+
"name": "astral-sh/ruff",
11+
"id": 523043277,
12+
"oidc_subject": "legacy"
13+
}
14+
},
15+
"rules": [
16+
{
17+
"caller": "ruff",
18+
"environment": "release",
19+
"caller_workflow": "release.yml",
20+
"reusable_workflow": "notify-dependents.yml",
21+
"on": ["workflow_dispatch"],
22+
"permissions": { "actions": "write" },
23+
"target": "ruff-pre-commit"
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)