Skip to content

Commit 827dddc

Browse files
authored
Update sync.yaml
Add permissions, pin the SHA of the third party action
1 parent e4fade9 commit 827dddc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/sync.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: 'Upstream Sync'
22

3+
permissions:
4+
contents: write
5+
36
on:
47
schedule:
58
- cron: '0 21 * * 1-6'
@@ -25,7 +28,7 @@ jobs:
2528
# Step 2: run the sync action
2629
- name: Sync upstream changes
2730
id: sync
28-
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
31+
uses: aormsby/Fork-Sync-With-Upstream-action@1090e365224fc834e7e1de521c417ded2d6fcb53
2932
with:
3033
target_sync_branch: master
3134
# REQUIRED 'target_repo_token' exactly like this!

0 commit comments

Comments
 (0)