Module: kamailio
Branch: master
Commit: 8064a1d3cd35e76f0e563fa401c181632f33b43a
URL:
https://github.com/kamailio/kamailio/commit/8064a1d3cd35e76f0e563fa401c1816…
Author: Alex <aleksandrosansan(a)gmail.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2022-09-21T09:29:31+02:00
build: harden pull_request.yml permissions
Signed-off-by: Alex <aleksandrosansan(a)gmail.com>
---
Modified: .github/workflows/pull_request.yml
---
Diff:
https://github.com/kamailio/kamailio/commit/8064a1d3cd35e76f0e563fa401c1816…
Patch:
https://github.com/kamailio/kamailio/commit/8064a1d3cd35e76f0e563fa401c1816…
---
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 2633e7e29e..e2f6416ce4 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -6,6 +6,8 @@ name: checks_pr
- master
# 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