Skip to content

Commit acc75c2

Browse files
Copilotpelikhan
andauthored
fix: add copilot-requests to GitHub Actions workflow JSON schema (#18067)
* Initial plan * fix: add copilot-requests to GitHub Actions workflow JSON schema permissions Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Modify 'copilot-requests' schema definition Updated 'copilot-requests' schema to include type and enum. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
1 parent e0f45bc commit acc75c2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/workflow/schemas/github-workflow.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@
171171
"checks": {
172172
"$ref": "#/definitions/permissions-level"
173173
},
174+
"copilot-requests": {
175+
"type": "string",
176+
"enum": ["write", "none"]
177+
},
174178
"contents": {
175179
"$ref": "#/definitions/permissions-level"
176180
},

0 commit comments

Comments
 (0)