Skip to content

Commit 79d2557

Browse files
Potential fix for code scanning alert no. 667: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 2b07928 commit 79d2557

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/metrics.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# GitHub Metrics
22
# This workflow generates a metrics SVG and commits it to the repository
33
name: Metrics Embed
4+
permissions:
5+
contents: write
46

57
on:
68
schedule: [{cron: "0 0 * * 0"}] # every week

0 commit comments

Comments
 (0)