summaryrefslogtreecommitdiff
path: root/.github/workflows/dependencies.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/dependencies.yml')
-rw-r--r--.github/workflows/dependencies.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml
index 000589087..a21803ec6 100644
--- a/.github/workflows/dependencies.yml
+++ b/.github/workflows/dependencies.yml
@@ -4,14 +4,13 @@ on:
schedule:
- cron: "0 6 * * 0"
-permissions:
- contents: write
-
jobs:
check:
name: Check for updates
runs-on: ubuntu-latest
if: github.repository == 'ohmyzsh/ohmyzsh'
+ permissions:
+ contents: write # this is needed to push commits and branches
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2