Skip to content

Commit c50c0ab

Browse files
ci: CodeQL complains if i don't do this
1 parent 6487504 commit c50c0ab

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Build AridityTeam.Ascorbic
2-
2+
permissions:
3+
contents: write
34
on:
45
push:
56
branches: [ "master" ]

.github/workflows/docfx.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1+
name: Deploy DocFX site to GitHub Pages
2+
3+
permissions:
4+
actions: read
5+
pages: write
6+
id-token: write
7+
18
on:
29
push:
310
branches: [ "master" ]
411
paths:
512
- ".github/workflows/**"
613
- "docfx/**"
714

8-
permissions:
9-
actions: read
10-
pages: write
11-
id-token: write
12-
1315
concurrency:
1416
group: "pages"
1517
cancel-in-progress: false

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Publish NuGet Package
22

3+
permissions:
4+
contents: write
5+
packages: write
6+
37
on:
48
release:
59
types: [published, prereleased]

0 commit comments

Comments
 (0)