mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 04:36:31 +08:00
harden docker workflow permissions
This commit is contained in:
parent
e89e83243a
commit
e40e0aaed6
3
.github/workflows/build-push.yml
vendored
3
.github/workflows/build-push.yml
vendored
@ -12,6 +12,9 @@ on:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: build-push-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
3
.github/workflows/docker-build.yml
vendored
3
.github/workflows/docker-build.yml
vendored
@ -8,6 +8,9 @@ on:
|
||||
- api/Dockerfile
|
||||
- web/Dockerfile
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: docker-build-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user