summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linux-build.yml2
-rw-r--r--.github/workflows/mac-build.yml2
-rw-r--r--.github/workflows/win-build.yml2
3 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
index 6b643bb..0cbf774 100644
--- a/.github/workflows/linux-build.yml
+++ b/.github/workflows/linux-build.yml
@@ -1,5 +1,7 @@
name: Linux
on: [push]
+permissions:
+ contents: read
jobs:
gcc:
runs-on: ubuntu-20.04
diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml
index 86b9bfd..b8321f7 100644
--- a/.github/workflows/mac-build.yml
+++ b/.github/workflows/mac-build.yml
@@ -1,5 +1,7 @@
name: macOS
on: [push]
+permissions:
+ contents: read
jobs:
xcode:
runs-on: macos-11
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml
index 1f530ab..43e2019 100644
--- a/.github/workflows/win-build.yml
+++ b/.github/workflows/win-build.yml
@@ -1,5 +1,7 @@
name: Windows
on: [push]
+permissions:
+ contents: read
env:
ERROR_ON_FAILURES: 1
jobs: