]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19708 Use read-all permission within Github Actions tutorial sample YAML
author7PH <benjamin.raymond@sonarsource.com>
Tue, 29 Aug 2023 13:51:30 +0000 (15:51 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 30 Aug 2023 20:03:06 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/github-action/utils.ts

index 732ee2c87128b510e09f1a51359e780615c24505..a67c11b049b42cd39fda95971d38762169f69e2a 100644 (file)
@@ -14,6 +14,7 @@ jobs:
   build:
     name: Build
     runs-on: windows-latest
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with:
@@ -64,6 +65,7 @@ jobs:
   build:
     name: Build
     runs-on: <image ready for your build toolchain>
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with:
@@ -107,6 +109,7 @@ jobs:
   build:
     name: Build
     runs-on: <image ready for your build toolchain>
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with:
@@ -148,6 +151,7 @@ jobs:
   build:
     name: Build
     runs-on: <image ready for your build toolchain>
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with:
@@ -200,6 +204,7 @@ jobs:
   build:
     name: Build
     runs-on: ubuntu-latest
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with:
@@ -267,6 +272,7 @@ jobs:
   build:
     name: Build
     runs-on: ubuntu-latest
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with:
@@ -308,6 +314,7 @@ jobs:
   build:
     name: Build
     runs-on: ubuntu-latest
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with:
index cbcfcc1dc593be0b3669d49a075f49298d9713b1..4e1e5a70723969e8d4f96fef60bc065201c8598c 100644 (file)
@@ -35,6 +35,7 @@ jobs:
   build:
     name: Build
     runs-on: ${runsOn}
+    permissions: read-all
     steps:
       - uses: actions/checkout@v2
         with: