Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
tags:
- '*'
workflow_dispatch:

permissions:
contents: read
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The v0.16.0 update introduces SARIF upload functionality that uploads vulnerability findings to GitHub Security tab. This requires the security-events: write permission to be added to the permissions block. Without this permission, the SARIF upload step will fail for public repositories.

Add the following to the permissions section:

permissions:
  contents: read
  security-events: write
Suggested change
contents: read
contents: read
security-events: write

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to be partially true, but the permission might be needed in the reusable workflow, not here. I will check.


Expand All @@ -17,9 +17,9 @@ jobs:
uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.11.2
with:
run-unit-tests: true

docker_pipeline:
uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.11.2
uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@a5bf0dd12c945ee8fb95cd18765f134928de3e32 # v0.16.0
needs: ["test"]
secrets: inherit
with:
Expand Down
Loading