Skip to content

Commit 59b4b45

Browse files
authored
Merge pull request #60 from hugetim/alert-autofix-1
Fixes for code scanning alerts: Workflow does not contain permissions
2 parents 42b4f00 + 29a811e commit 59b4b45

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Deploy to GitHub Pages
2+
permissions:
3+
contents: write
24
on:
35
push:
46
branches: [ "main", "master" ]

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: CI
22
on: [workflow_dispatch, pull_request, push]
3+
permissions:
4+
contents: read
35

46
jobs:
57
test:

0 commit comments

Comments
 (0)