ci: test using no permissions by default for most CI jobs + bump setup-python (#2025)

* ci: test using no permissions by default for most CI jobs

* Also require production approval for a release upload

* remove build_release individual 'job'

* tweak some stuff

* driveby bump on setup-python to 6.2.0 to fix node20 warnings

* remove bsd vm check name
This commit is contained in:
Clement Tsang
2026-04-11 17:48:58 -04:00
committed by GitHub
parent 53f0236050
commit 731564b656
11 changed files with 37 additions and 9 deletions
@@ -15,6 +15,8 @@ on:
schedule:
- cron: "0 11 * * 0"
permissions: {}
jobs:
clear-cache:
if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork