mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-21 17:16:16 +08:00
30495fb6f0
Add an explicit top-level "permissions:" block. Without it the workflow inherited the repository's default GITHUB_TOKEN scopes — typically contents: write, packages: write, etc. on push events — none of which a build-and-test workflow needs. Least-privilege per SecCab-LeastPrivilege. Block placed between "on:" and "concurrency:" so it scopes the whole workflow (no individual job needs an override). Mirrors the scope used by the new .github/workflows/stress-test.yml. No CI semantics change — all jobs still run.