Skip to content

Commit c2f8c2f

Browse files
committed
add permissions
1 parent abb4512 commit c2f8c2f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/push-preview-image-to-vecr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
name: Push Preview Image to Volcengine Container Registry
1616

17+
18+
permissions:
19+
contents: read
20+
1721
on:
1822
push:
1923
branches:

.github/workflows/push-stable-image-to-vecr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ on:
2424
jobs:
2525
build-and-push:
2626
runs-on: ubuntu-latest
27+
permissions:
28+
contents: read
2729

2830
# To avoid forked repo execute this workflow
2931
if: github.repository == 'volcengine/veadk-python'

0 commit comments

Comments
 (0)