"vscode:/vscode.git/clone" did not exist on "0d81e543a2b048d7b1f558fb1006d10a062a6e9e"
Unverified Commit d7f672d1 authored by Diogo Teles Sant'Anna's avatar Diogo Teles Sant'Anna Committed by GitHub
Browse files

CI: define read-only permission for GitHub Workflow (#1175)

It secures the repo against erroneous or malicious actions from external jobs you call from your workflow. It's specially important for the case they get compromised, for example.
parent bdc5582b
......@@ -5,6 +5,7 @@ on:
pull_request:
branches: [ master ]
workflow_dispatch:
permissions: read-all
jobs:
cmake-build:
strategy:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment