Skip to content

Commit 63bd4d2

Browse files
committed
ci(workflows): Scope write permissions to jobs and rename public-api job
1 parent 5cc0855 commit 63bd4d2

2 files changed

Lines changed: 3 additions & 14 deletions

File tree

.github/workflows/mkdocs.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
name: Markdown Update
22
on:
33
push:
4-
branches:
5-
- main
6-
- 'fix/*'
7-
- 'feature/*'
8-
- 'poc/*'
9-
- 'support/*'
10-
- 'next/*'
114
paths:
125
- 'docs/**'
136

@@ -29,11 +22,10 @@ defaults:
2922
run:
3023
shell: pwsh
3124

32-
permissions:
33-
contents: write
34-
3525
jobs:
3626
docs:
27+
permissions:
28+
contents: write
3729
name: Update Markdown (embedded snippets)
3830
runs-on: ubuntu-24.04
3931
steps:

.github/workflows/public-api.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ defaults:
99
run:
1010
shell: pwsh
1111

12-
permissions:
13-
contents: write
14-
1512
jobs:
16-
homebrew:
13+
public-api:
1714
permissions:
1815
contents: write
1916
name: Mark public API as shipped

0 commit comments

Comments
 (0)