From 3de7eb3c53e8d5cb1f1c1033bef65601b89f09a4 Mon Sep 17 00:00:00 2001 From: Fabio Pinheiro Date: Thu, 31 Oct 2024 12:18:25 +0000 Subject: [PATCH] build: add permissions for the dependency-submission (#1416) Signed-off-by: FabioPinheiro --- .github/workflows/sbt-dependency-submission.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/sbt-dependency-submission.yml b/.github/workflows/sbt-dependency-submission.yml index 7a0035e185..fb0c72ca5f 100644 --- a/.github/workflows/sbt-dependency-submission.yml +++ b/.github/workflows/sbt-dependency-submission.yml @@ -7,6 +7,11 @@ on: schedule: - cron: "0 20 * * *" workflow_dispatch: + +# Permission can be added at job level or workflow level +permissions: + contents: write # This is required to upload for the dependency-submission + jobs: dependency-graph: name: Update Dependency Graph