Skip to content

Set default workflow token permissions to read-only - #505

Merged
mattias-kindborg-at-work merged 1 commit into
mainfrom
ossf-scorecard/token-permissions
Aug 18, 2026
Merged

mattias-kindborg-at-work merged 1 commit into
mainfrom
ossf-scorecard/token-permissions

Conversation

@mattias-kindborg-at-work

Copy link
Copy Markdown
Member

This pull request applies the OSSF Scorecard Token-Permissions remedy.

It sets the default workflow token to read-only by adding a top-level permissions block to workflows that lacked one:

  • .github/workflows/audio-capture.yml
  • .github/workflows/audio-playback.yml
  • .github/workflows/axevent.yml
  • .github/workflows/axoverlay.yml
  • .github/workflows/axoverlay2-skia.yml
  • .github/workflows/axoverlay2.yml
  • .github/workflows/axparameter.yml
  • .github/workflows/axserialport.yml
  • .github/workflows/axstorage.yml
  • .github/workflows/bounding-box.yml
  • .github/workflows/container-example.yml
  • .github/workflows/curl-openssl.yml
  • .github/workflows/device-data-hub.yml
  • .github/workflows/hello-world.yml
  • .github/workflows/http-requests-using-fastcgi.yml
  • .github/workflows/licensekey.yml
  • .github/workflows/linter-documentation-links.yml
  • .github/workflows/linter-example-checks.yml
  • .github/workflows/linter-renovate-config.yml
  • .github/workflows/linter-super-linter-version.yml
  • .github/workflows/linter.yml
  • .github/workflows/message-broker.yml
  • .github/workflows/object-detection-cv25.yml
  • .github/workflows/object-detection-yolov5.yml
  • .github/workflows/object-detection.yml
  • .github/workflows/ptz-control-ws-api.yml
  • .github/workflows/recording-playback.yml
  • .github/workflows/remote-debug-example.yml
  • .github/workflows/reproducible-package.yml
  • .github/workflows/reverse-proxy-using-fixed-port.yml
  • .github/workflows/shell-script-example.yml
  • .github/workflows/tensorflow-to-larod-artpec8.yml
  • .github/workflows/tensorflow-to-larod-artpec9.yml
  • .github/workflows/tensorflow-to-larod-cv25.yml
  • .github/workflows/tensorflow-to-larod.yml
  • .github/workflows/using-opencv.yml
  • .github/workflows/utility-libraries.yml
  • .github/workflows/vapix.yml
  • .github/workflows/vdo-larod.yml
  • .github/workflows/vdo-opencl-filtering.yml
  • .github/workflows/vdostream.yml

Any job that needs more than read access must be granted those permissions at the job level, otherwise it may fail.

See the OSSF Scorecard guidance for details.

@mattias-kindborg-at-work
mattias-kindborg-at-work requested a review from a team as a code owner August 18, 2026 10:56
@mattias-kindborg-at-work
mattias-kindborg-at-work merged commit adde072 into main Aug 18, 2026
89 checks passed
@mattias-kindborg-at-work
mattias-kindborg-at-work deleted the ossf-scorecard/token-permissions branch August 18, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant