Skip to content

Commit 6b9c956

Browse files
added permissions
1 parent b631b13 commit 6b9c956

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: ["main", "staging", "feature/CICD"]
66

7+
permissions:
8+
contents: write
9+
packages: write
10+
711
concurrency:
812
group: cicd-${{ github.ref_name }}
913
cancel-in-progress: false
@@ -24,6 +28,8 @@ jobs:
2428
steps:
2529
- name: Checkout code
2630
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
2733

2834
- name: Install doctl
2935
uses: digitalocean/action-doctl@v2

0 commit comments

Comments
 (0)