Potential fix for code scanning alert no. 1: Workflow does not contai…

Merged
JW
13d ago
+2-0

User description

…n permissions


Summary by cubic

Adds a permissions block granting contents: write to the Android build workflow, resolving the code scanning alert that the workflow lacked explicit permissions.


PR Type

Bug fix


Description

  • Add explicit permissions to Android build workflow.

Diagram Walkthrough

flowchart LR
  Workflow["android-build.yml"] -- "Sets permissions" --> Permissions["contents: write"]

File Walkthrough

Relevant files
Configuration changes
android-build.ymlAdd contents write permissions to workflow                             

.github/workflows/android-build.yml

  • Add permissions block with contents: write to resolve code scanning
    alert.
+2/-0