Skip to content

Commit 675fbe3

Browse files
feat: update permission inputs
1 parent 2db8f4e commit 675fbe3

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ inputs:
3131
description: "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be set to 'read' or 'write'."
3232
permission-administration:
3333
description: "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be set to 'read' or 'write'."
34+
permission-artifact-metadata:
35+
description: "The level of permission to grant the access token to create and retrieve build artifact metadata records. Can be set to 'read' or 'write'."
36+
permission-attestations:
37+
description: "The level of permission to create and retrieve the access token for repository attestations. Can be set to 'read' or 'write'."
3438
permission-checks:
3539
description: "The level of permission to grant the access token for checks on code. Can be set to 'read' or 'write'."
3640
permission-codespaces:
@@ -43,6 +47,8 @@ inputs:
4347
description: "The level of permission to grant the access token to manage Dependabot secrets. Can be set to 'read' or 'write'."
4448
permission-deployments:
4549
description: "The level of permission to grant the access token for deployments and deployment statuses. Can be set to 'read' or 'write'."
50+
permission-discussions:
51+
description: "The level of permission to grant the access token for discussions and related comments and labels. Can be set to 'read' or 'write'."
4652
permission-email-addresses:
4753
description: "The level of permission to grant the access token to manage the email addresses belonging to a user. Can be set to 'read' or 'write'."
4854
permission-enterprise-custom-properties-for-organizations:
@@ -61,6 +67,8 @@ inputs:
6167
description: "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be set to 'read' or 'write'."
6268
permission-members:
6369
description: "The level of permission to grant the access token for organization teams and members. Can be set to 'read' or 'write'."
70+
permission-merge-queues:
71+
description: "The level of permission to grant the access token to manage the merge queues for a repository. Can be set to 'read' or 'write'."
6472
permission-metadata:
6573
description: "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be set to 'read' or 'write'."
6674
permission-organization-administration:

scripts/generated/app-permissions.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@
1919
"write"
2020
]
2121
},
22+
"artifact_metadata": {
23+
"type": "string",
24+
"description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.",
25+
"enum": [
26+
"read",
27+
"write"
28+
]
29+
},
30+
"attestations": {
31+
"type": "string",
32+
"description": "The level of permission to create and retrieve the access token for repository attestations.",
33+
"enum": [
34+
"read",
35+
"write"
36+
]
37+
},
2238
"checks": {
2339
"type": "string",
2440
"description": "The level of permission to grant the access token for checks on code.",
@@ -59,6 +75,14 @@
5975
"write"
6076
]
6177
},
78+
"discussions": {
79+
"type": "string",
80+
"description": "The level of permission to grant the access token for discussions and related comments and labels.",
81+
"enum": [
82+
"read",
83+
"write"
84+
]
85+
},
6286
"environments": {
6387
"type": "string",
6488
"description": "The level of permission to grant the access token for managing repository environments.",
@@ -75,6 +99,14 @@
7599
"write"
76100
]
77101
},
102+
"merge_queues": {
103+
"type": "string",
104+
"description": "The level of permission to grant the access token to manage the merge queues for a repository.",
105+
"enum": [
106+
"read",
107+
"write"
108+
]
109+
},
78110
"metadata": {
79111
"type": "string",
80112
"description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.",

0 commit comments

Comments
 (0)