Skip to content

Commit b5cfff0

Browse files
Potential fix for code scanning alert no. 50: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent fd571a7 commit b5cfff0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
calculate-changes:
3030
name: Compute changed adapters
3131
runs-on: [ubuntu-latest]
32+
permissions:
33+
contents: read
3234
outputs:
3335
adapter-list: ${{ steps.changed-adapters.outputs.CHANGED_ADAPTERS }}
3436
tmp-branch: ${{ steps.push-branch.outputs.TMP_BRANCH }}

0 commit comments

Comments
 (0)