Skip to content

Commit e7eb06f

Browse files
authored
Merge pull request #41261 from github/repo-sync
Repo sync
2 parents 0f18e54 + 61c63d5 commit e7eb06f

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

content/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ Repository permissions work for both user and organization resource owners.
197197
|---|---|---|
198198
| `actions` | Actions | `read`, `write` |
199199
| `administration` | Administration | `read`, `write` |
200+
| {% ifversion artifact-metadata %} |
201+
| `artifact_metadata` | Artifact Metadata | `read`, `write` |
202+
| {% endif %} |
200203
| `attestations` | Attestations | `read`, `write` |
201204
| `security_events` | Code scanning alerts | `read`, `write` |
202205
| `codespaces` | Codespaces | `read`, `write` |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Artifact Metadata GA
2+
versions:
3+
fpt: '*'
4+
ghec: '*'

data/reusables/actions/github-token-available-permissions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ You can define the access that the `GITHUB_TOKEN` will permit by specifying `rea
22

33
```yaml
44
permissions:
5-
actions: read|write|none{% ifversion artifact-attestations %}
5+
actions: read|write|none{% ifversion artifact-metadata %}
6+
artifact-metadata: read|write|none{% endif %}{% ifversion artifact-attestations %}
67
attestations: read|write|none{% endif %}
78
checks: read|write|none
89
contents: read|write|none

data/reusables/actions/github-token-scope-descriptions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Available permissions and details of what each allows an action to do:
55
| Permission | Allows an action using `GITHUB_TOKEN` to |
66
| --- | --- |
77
| `actions` | Work with GitHub Actions. For example, `actions: write` permits an action to cancel a workflow run. For more information, see [AUTOTITLE](/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-actions). |
8+
| {% ifversion artifact-metadata %} |
9+
| `artifact-metadata` | Work with artifact metadata. For example, `artifact-metadata: write` permits an action to create storage records on behalf of a build artifact. For more information, see [AUTOTITLE](/rest/orgs/artifact-metadata?apiVersion=2022-11-28). |
10+
| {% endif %} |
811
| {% ifversion artifact-attestations %} |
912
| `attestations` | Work with artifact attestations. For example, `attestations: write` permits an action to generate an artifact attestation for a build. For more information, see [AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds) |
1013
| {% endif %} |

0 commit comments

Comments
 (0)