Skip to content

Commit 0ab441f

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

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/dependabot-prs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Dependabot Pull Request
2+
permissions:
3+
contents: read
4+
pull-requests: write
25
on:
36
pull_request_target:
47
types: [opened, synchronize, reopened, labeled]

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Main
22
on: push
3+
permissions:
4+
contents: read
35
jobs:
46
ci:
57
name: CI

0 commit comments

Comments
 (0)