Skip to content

Commit 59b8b18

Browse files
committed
GitHub actions: add permission to read only
1 parent a2439bd commit 59b8b18

4 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/openmpi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Using OpenMPI
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
push:
48
branches:

.github/workflows/pnetcdf_c_master.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Test PnetCDF-C master branch
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
workflow_dispatch:
48
inputs:

.github/workflows/pnetcdf_c_official.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Test PnetCDF-C latest official release
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
push:
48
branches:

.github/workflows/static.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Simple workflow for deploying static content to GitHub Pages
22
name: Deploy static content to Pages
33

4+
permissions:
5+
contents: read
6+
47
on:
58
# Runs on pushes targeting the default branch
69
push:

0 commit comments

Comments
 (0)