[sr-dev] git:master:8064a1d3: build: harden pull_request.yml permissions
Victor Seva
linuxmaniac at torreviejawireless.org
Wed Sep 21 09:29:38 CEST 2022
Module: kamailio
Branch: master
Commit: 8064a1d3cd35e76f0e563fa401c181632f33b43a
URL: https://github.com/kamailio/kamailio/commit/8064a1d3cd35e76f0e563fa401c181632f33b43a
Author: Alex <aleksandrosansan at gmail.com>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2022-09-21T09:29:31+02:00
build: harden pull_request.yml permissions
Signed-off-by: Alex <aleksandrosansan at gmail.com>
---
Modified: .github/workflows/pull_request.yml
---
Diff: https://github.com/kamailio/kamailio/commit/8064a1d3cd35e76f0e563fa401c181632f33b43a.diff
Patch: https://github.com/kamailio/kamailio/commit/8064a1d3cd35e76f0e563fa401c181632f33b43a.patch
---
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
More information about the sr-dev
mailing list