Skip to content

Commit f604b46

Browse files
committed
fix: pin action SHA, remove test.txt, add permissions
1 parent 8c7cb61 commit f604b46

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/mirror.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
tags: ["**"]
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
mirror:
1114
name: Mirror
@@ -19,7 +22,7 @@ jobs:
1922
fetch-depth: 0
2023

2124
- name: Mirror to Codeberg
22-
uses: cssnr/mirror-repository-action@v1
25+
uses: cssnr/mirror-repository-action@4e3e1a67ee37ac30073df96fe9f53ef7ec4a4f80 # v1
2326
with:
2427
host: https://codeberg.org
2528
username: thedavidweng

0 commit comments

Comments
 (0)