Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Potential fix for code scanning alert no. 78: Workflow does not contain permissions

Roland Geiderd617704d5f44
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1768a8584..bd76473ab 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,6 +16,8 @@ on:
jobs:
ci-job:
runs-on: ubuntu-latest
+ permissions:
+ contents: read
env:
DJANGO_SETTINGS_MODULE: settings.ci