Difference between revisions of "Permissions:"
Jump to navigation
Jump to search
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <code>permissions</code> for the <code>[[GITHUB_TOKEN]]</code>. | ||
+ | https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token | ||
− | [[GitHub Actions: jobs:|jobs:]] | + | jobs: |
+ | build-and-deploy-docker-image: | ||
+ | [[runs-on:]] [[self-hosted]] | ||
+ | permissions: | ||
+ | [[id-token:]] write | ||
+ | [[contents:]] read | ||
+ | |||
+ | permissions: | ||
+ | contents: read | ||
+ | pull-requests: write | ||
+ | |||
+ | permissions: | ||
+ | issues: write | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[GitHub Actions: jobs:|jobs:]]</code> | ||
== See also == | == See also == |
Latest revision as of 22:36, 14 May 2023
permissions
for the GITHUB_TOKEN
.
jobs: build-and-deploy-docker-image: runs-on: self-hosted permissions: id-token: write contents: read permissions: contents: read pull-requests: write
permissions: issues: write
Related[edit]
See also[edit]
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: