Module: kamailio
Branch: master
Commit: ddb39dd0f4fae470083006a7965d21512cd759b1
URL:
https://github.com/kamailio/kamailio/commit/ddb39dd0f4fae470083006a7965d215…
Author: Alex <aleksandrosansan(a)gmail.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2022-09-21T09:29:31+02:00
build: harden main.yml permissions
Signed-off-by: Alex <aleksandrosansan(a)gmail.com>
---
Modified: .github/workflows/main.yml
---
Diff:
https://github.com/kamailio/kamailio/commit/ddb39dd0f4fae470083006a7965d215…
Patch:
https://github.com/kamailio/kamailio/commit/ddb39dd0f4fae470083006a7965d215…
---
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8704cda5e84..10acce3a6e1 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -8,6 +8,8 @@ name: build
- '5.5'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
+permissions:
+ contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-latest