Skip to content

Commit f99c262

Browse files
chore: synced local '.github/workflows/s3-backup.yml' with remote 'tools/sre_file_sync/s3-backup.yml'
1 parent f2f0196 commit f99c262

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/s3-backup.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
schedule:
55
- cron: "0 6 * * *"
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
s3-backup:
912
runs-on: ubuntu-latest
@@ -13,6 +16,7 @@ jobs:
1316
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1417
with:
1518
fetch-depth: 0 # retrieve all history
19+
persist-credentials: false
1620

1721
- name: Configure AWS credentials
1822
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0

0 commit comments

Comments
 (0)