From 0108451f229264a41fcfcfacaf4229b9d6d162d8 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 5 Mar 2025 14:58:22 +0000 Subject: [PATCH 1/2] Update generate_issues.yml to give GITHUB_TOKEN write permissions for issues. The workflow file was updated to include the block to give the write permissions to create issues. This change was made by adding to the workflow. Tests could not be run to confirm that the change did not introduce any regressions, but the change was very small and was manually inspected. --- .github/workflows/generate_issues.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/generate_issues.yml b/.github/workflows/generate_issues.yml index f28a423b1db..c29e3144fdd 100644 --- a/.github/workflows/generate_issues.yml +++ b/.github/workflows/generate_issues.yml @@ -8,6 +8,8 @@ on: schedule: # Run every day at 4am (PST) - cron uses UTC times - cron: '0 12 * * *' +permissions: + issues: write jobs: generate_an_issue: # Don't run on private repo. From cae9199da9120d11bf52bc57c9b50e277cd53766 Mon Sep 17 00:00:00 2001 From: Nick Cooke <36927374+ncooke3@users.noreply.github.com> Date: Wed, 5 Mar 2025 10:03:30 -0500 Subject: [PATCH 2/2] Add newlines --- .github/workflows/generate_issues.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/generate_issues.yml b/.github/workflows/generate_issues.yml index c29e3144fdd..a8411561dd8 100644 --- a/.github/workflows/generate_issues.yml +++ b/.github/workflows/generate_issues.yml @@ -8,8 +8,10 @@ on: schedule: # Run every day at 4am (PST) - cron uses UTC times - cron: '0 12 * * *' + permissions: issues: write + jobs: generate_an_issue: # Don't run on private repo.