Browse Source

SONAR-19708 Use read-all permission within Github Actions tutorial sample YAML

tags/10.2.0.77647
7PH 9 months ago
parent
commit
c9ee6965a4

+ 7
- 0
server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap View 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:

+ 1
- 0
server/sonar-web/src/main/js/components/tutorials/github-action/utils.ts View File

@@ -35,6 +35,7 @@ jobs:
build:
name: Build
runs-on: ${runsOn}
permissions: read-all
steps:
- uses: actions/checkout@v2
with:

Loading…
Cancel
Save