Skip to content

Commit 0309705

Browse files
committed
Update workflows
1 parent 4097599 commit 0309705

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ on:
88
branches:
99
- main
1010

11+
permissions: {}
12+
1113
jobs:
1214
build:
1315
name: Deploy docs
1416
runs-on: ubuntu-latest
17+
permissions:
18+
contents: write
1519
steps:
1620
- name: Checkout main
1721
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
@@ -26,3 +30,4 @@ jobs:
2630

2731
- name: Deploy docs
2832
run: uv run mkdocs gh-deploy --force --strict
33+
env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update-reports.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ on:
1212
- 'reports/pyproject.toml'
1313
workflow_dispatch:
1414

15+
permissions: {}
16+
1517
jobs:
1618
update-reports:
1719
runs-on: ubuntu-latest
20+
environment: gh-stats
1821
permissions:
1922
contents: write
2023
pull-requests: write

0 commit comments

Comments
 (0)