Skip to content

Commit 033649e

Browse files
committed
Tweak permissions
1 parent 31c28dc commit 033649e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/deploy-cran-repo.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ name: Build WASM R package and Repo
1111

1212
jobs:
1313
deploy-cran-repo:
14+
# Only restrict concurrency for non-PR jobs
15+
concurrency:
16+
group: r-wasm-${{ github.event_name != 'pull_request' || github.run_id }}
17+
env:
18+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
19+
permissions:
20+
contents: write
1421
runs-on: ubuntu-latest
1522
steps:
1623
- name: Checkout repository

0 commit comments

Comments
 (0)