Skip to content

Commit 3f3a1f4

Browse files
committed
Set default permissions in all example workflows
[ci skip]
1 parent bc83208 commit 3f3a1f4

File tree

11 files changed

+22
-0
lines changed

11 files changed

+22
-0
lines changed

examples/blogdown.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
name: blogdown
1111

12+
permissions: read-all
13+
1214
jobs:
1315
blogdown:
1416
runs-on: ubuntu-latest

examples/bookdown.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
name: bookdown
1111

12+
permissions: read-all
13+
1214
jobs:
1315
bookdown:
1416
runs-on: ubuntu-latest

examples/check-no-suggests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414

1515
name: R-CMD-check-hard
1616

17+
permissions: read-all
18+
1719
jobs:
1820
R-CMD-check:
1921
runs-on: ${{ matrix.config.os }}

examples/document.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
name: Document
88

9+
permissions: read-all
10+
911
jobs:
1012
document:
1113
runs-on: ubuntu-latest

examples/html-5-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
name: HTML5 check
1010

11+
permissions: read-all
12+
1113
jobs:
1214
HTML5-check:
1315
runs-on: ubuntu-latest

examples/lint-changed-files.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
name: lint-changed-files
88

9+
permissions: read-all
10+
911
jobs:
1012
lint-changed-files:
1113
runs-on: ubuntu-latest

examples/lint-project.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
name: lint-project
1010

11+
permissions: read-all
12+
1113
jobs:
1214
lint-project:
1315
runs-on: ubuntu-latest

examples/pr-commands.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
name: Commands
88

9+
permissions: read-all
10+
911
jobs:
1012
document:
1113
if: ${{ github.event.issue.pull_request && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') && startsWith(github.event.comment.body, '/document') }}

examples/render-rmarkdown.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
name: render-rmarkdown
88

9+
permissions: read-all
10+
911
jobs:
1012
render-rmarkdown:
1113
runs-on: ubuntu-latest

examples/shiny-deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
name: shiny-deploy
88

9+
permissions: read-all
10+
911
jobs:
1012
shiny-deploy:
1113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)