"example/vscode:/vscode.git/clone" did not exist on "9255407d63f348e3e071d5ef1561b384af828b4c"
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: ...@@ -5,6 +5,7 @@ on:
pull_request: pull_request:
branches: [ master ] branches: [ master ]
workflow_dispatch: workflow_dispatch:
permissions: read-all
jobs: jobs:
cmake-build: cmake-build:
strategy: 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