]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: set workflow permissions to read-all
authorJason Ish <jason.ish@oisf.net>
Fri, 21 Jan 2022 21:45:59 +0000 (15:45 -0600)
committerVictor Julien <vjulien@oisf.net>
Fri, 28 Jan 2022 09:34:56 +0000 (10:34 +0100)
.github/workflows/builds.yml
.github/workflows/cifuzz.yml
.github/workflows/commits.yml
.github/workflows/formatting.yml

index a6aa20417a03898cca8039ebeb77fe4d5be4eda9..1a53c10640ae1bea1adf4b2a17000d746f85d34f 100644 (file)
@@ -4,6 +4,8 @@ on:
   - push
   - pull_request
 
+permissions: read-all
+
 env:
   DEFAULT_LIBHTP_REPO: https://github.com/OISF/libhtp
   DEFAULT_LIBHTP_BRANCH: 0.5.x
index f779ed32c73e1a7a58d1adc9b6383700eda888d6..9010c237e024492215393d69207be332b97988e6 100644 (file)
@@ -1,5 +1,6 @@
 name: CIFuzz
 on: [pull_request]
+permissions: read-all
 jobs:
  Fuzzing:
    runs-on: ubuntu-latest
index 651cacfa9577bdd68c227feb61dd8e582a6a1995..fac19f9966aae80171d009bbad37cd79710d600d 100644 (file)
@@ -3,6 +3,8 @@ name: commit-check
 on:
   - pull_request
 
+permissions: read-all
+
 jobs:
 
   check-commits:
index e77389511b8d03414d703467538f47b6d68776d1..b1c040058f4197a1fa54c18721b24bddac7ee646 100644 (file)
@@ -8,6 +8,8 @@ on:
       - 'master-*'
   pull_request:
 
+permissions: read-all
+
 jobs:
 
   # Checking for correct formatting of branch for C code changes