Commit 6330b6e
committed
CI: run on push to main and set least-privilege GITHUB_TOKEN permissions
Add a push trigger on main so the full CI matrix (lint, unit, integration)
re-runs on merge, matching dropbox-sdk-dotnet; previously ci.yml only ran on
pull_request, so main could break undetected.
Also add a top-level `permissions: contents: read` to both workflows to
satisfy the CodeQL missing-workflow-permissions alert. Jobs that need OIDC
keep their job-level id-token: write override.1 parent 0ab9517 commit 6330b6e
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments