diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 5c8ad26c..b24ff6fc 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -37,6 +37,9 @@ on: required: false default: false +permissions: + contents: write + jobs: build: env: diff --git a/.github/workflows/remove-old-artifacts.yml b/.github/workflows/remove-old-artifacts.yml index 45964b29..79b96802 100644 --- a/.github/workflows/remove-old-artifacts.yml +++ b/.github/workflows/remove-old-artifacts.yml @@ -20,6 +20,9 @@ on: # Every day at 1am - cron: '0 1 * * *' +permissions: + actions: write + jobs: remove-old-artifacts: runs-on: ubuntu-latest