diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c8ba4145..02c8389b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,9 @@ on: branches: - "*" +permissions: + contents: read + jobs: run-checks-and-unit-tests: runs-on: ubuntu-latest diff --git a/.github/workflows/remove-old-artifacts.yml b/.github/workflows/remove-old-artifacts.yml index 9bee87041..5899e8671 100644 --- a/.github/workflows/remove-old-artifacts.yml +++ b/.github/workflows/remove-old-artifacts.yml @@ -5,6 +5,9 @@ on: # Every day at 1am - cron: "0 1 * * *" +permissions: + actions: write + jobs: remove-old-artifacts: runs-on: ubuntu-latest