mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-18 15:57:04 +00:00
fix: add permissions to read repository
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
This commit is contained in:
parent
950be6aef3
commit
d6cc4cfcbf
1
.github/workflows/build_container.yaml
vendored
1
.github/workflows/build_container.yaml
vendored
@ -112,6 +112,7 @@ jobs:
|
|||||||
GIT_SHA: ${{ needs.prepare_ci_run.outputs.GIT_SHA }}
|
GIT_SHA: ${{ needs.prepare_ci_run.outputs.GIT_SHA }}
|
||||||
permissions:
|
permissions:
|
||||||
packages: write # Needed for pushing images to the registry
|
packages: write # Needed for pushing images to the registry
|
||||||
|
contents: read # Needed for checking out the repository
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3
|
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3
|
||||||
|
Loading…
Reference in New Issue
Block a user