Files
ruff/.github/secure-token-service.json
William Woodruff 3c7055dcce Pin astral-sh/github-actions to 2026.11.16.0 (#30464)
## Summary

Pin the shared actions and reusable workflow to commit
`67dc9ee1ddc113eccd8116e7b949fb6cdcd89889` from [release
2026.11.16.0](https://github.com/astral-sh/github-actions/releases/tag/2026.11.16.0).
Add the release version beside each YAML pin. The token-service policy
matches the new security-review workflow SHA.

## Notes to reviewers

Parsed the changed YAML and JSON and verified that each referenced
action or reusable workflow exists at the pinned commit. The
repository’s changed-file prek hooks passed for all 15 files.
2026-11-16 11:53:37 -05:00

127 lines
4.0 KiB
JSON

{
"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": "ai-policy.yml",
"on": ["workflow_dispatch"],
"permissions": { "issues": "write", "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_ref": "refs/heads/main",
"caller_workflow": "pull-request-reviewers.yml",
"on": ["workflow_dispatch"],
"permissions": { "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_ref": "refs/heads/main",
"caller_workflow": "pull-request-labels-and-title.yml",
"on": ["workflow_dispatch"],
"permissions": { "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_ref": "refs/pull/*/merge",
"caller_workflow": "ty-ecosystem-analyzer.yaml",
"reusable_workflow": "astral-sh/ruff/.github/workflows/publish-pull-request-report.yml@refs/heads/main",
"on": ["pull_request"],
"permissions": { "actions": "read", "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_ref": "refs/pull/*/merge",
"caller_workflow": "typing_conformance.yaml",
"reusable_workflow": "astral-sh/ruff/.github/workflows/publish-pull-request-report.yml@refs/heads/main",
"on": ["pull_request"],
"permissions": { "actions": "read", "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_ref": "refs/pull/*/merge",
"caller_workflow": "memory_report.yaml",
"reusable_workflow": "astral-sh/ruff/.github/workflows/publish-pull-request-report.yml@refs/heads/main",
"on": ["pull_request"],
"permissions": { "actions": "read", "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_ref": "refs/pull/*/merge",
"caller_workflow": "ci.yaml",
"reusable_workflow": "astral-sh/ruff/.github/workflows/publish-pull-request-report.yml@refs/heads/main",
"on": ["pull_request"],
"permissions": { "actions": "read", "pull_requests": "write" },
"target": "ruff"
},
{
"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": "sync_typeshed.yaml",
"on": ["schedule", "workflow_dispatch"],
"permissions": { "contents": "write", "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_workflow": "release-prepare.yml",
"on": ["workflow_dispatch"],
"permissions": { "contents": "write", "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "automations",
"caller_ref": "refs/pull/*/merge",
"caller_workflow": "ci.yaml",
"reusable_workflow": "astral-sh/github-actions/.github/workflows/pull-request-security-review.yml@67dc9ee1ddc113eccd8116e7b949fb6cdcd89889",
"on": ["pull_request"],
"permissions": { "pull_requests": "write" },
"target": "ruff"
},
{
"caller": "ruff",
"environment": "release",
"caller_workflow": "release.yml",
"on": ["workflow_dispatch"],
"permissions": { "contents": "write", "workflows": "write" },
"target": "ruff"
}
]
}