Skip to content

Commit

Permalink
Change permissions to permissions: write-all
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Oct 12, 2023
1 parent a273f0f commit 7e97279
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/rworkflows_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ name: rworkflows_dev
- dev
jobs:
rworkflows:
permissions:
contents: write
permissions: write-all
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
container: ${{ matrix.config.cont }}
Expand Down
4 changes: 1 addition & 3 deletions inst/templates/rworkflows_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
branches: [main, master, devel, 'RELEASE_**']
'jobs':
rworkflows:
permissions:
contents: write
packages: write
permissions: write-all
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
container: ${{ matrix.config.cont }}
Expand Down
4 changes: 1 addition & 3 deletions inst/templates/rworkflows_template_static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ on:
env:
jobs:
rworkflows_static:
permissions:
contents: write
packages: write
permissions: write-all
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
container: ${{ matrix.config.cont }}
Expand Down

0 comments on commit 7e97279

Please sign in to comment.