Skip to content

Commit e4cec5b

Browse files
committed
chore: Set permissions for workflows
1 parent acff7e3 commit e4cec5b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/codeberg_mirror.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Mirror to Codeberg
2+
permissions:
3+
contents: read
24

35
on:
46
push:
@@ -15,4 +17,4 @@ jobs:
1517
with:
1618
REMOTE: 'ssh://[email protected]/ffflorian/node-packages.git'
1719
GIT_SSH_PRIVATE_KEY: ${{ secrets.CODEBERG_SECRET }}
18-
GIT_SSH_NO_VERIFY_HOST: "true"
20+
GIT_SSH_NO_VERIFY_HOST: 'true'

.github/workflows/gitlab_mirror.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Mirror and run GitLab CI
2+
permissions:
3+
contents: read
24

35
on:
46
push:

0 commit comments

Comments
 (0)