From acb530f02ac5574ebaccb2003bce680666ce3c9c Mon Sep 17 00:00:00 2001 From: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com> Date: Mon, 1 Dec 2025 23:00:57 -0800 Subject: [PATCH 1/3] Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com> --- .github/workflows/update-homebrew.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-homebrew.yml b/.github/workflows/update-homebrew.yml index 789a8ff..3ee95f2 100644 --- a/.github/workflows/update-homebrew.yml +++ b/.github/workflows/update-homebrew.yml @@ -1,5 +1,7 @@ # .github/workflows/update-homebrew.yml name: Update Homebrew Tap +permissions: + contents: write on: release: From afc521e5509fc7d730cad7be59b00d9040d426a5 Mon Sep 17 00:00:00 2001 From: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com> Date: Mon, 1 Dec 2025 23:02:03 -0800 Subject: [PATCH 2/3] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com> --- .github/workflows/objective-c-xcode.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/objective-c-xcode.yml b/.github/workflows/objective-c-xcode.yml index a458d0b..098f84a 100644 --- a/.github/workflows/objective-c-xcode.yml +++ b/.github/workflows/objective-c-xcode.yml @@ -1,4 +1,6 @@ name: Build +permissions: + contents: read on: push: From b0bb3463a5062b4be762ebbb19316f578260f5a0 Mon Sep 17 00:00:00 2001 From: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com> Date: Mon, 1 Dec 2025 23:09:58 -0800 Subject: [PATCH 3/3] Update .github/workflows/update-homebrew.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com> --- .github/workflows/update-homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-homebrew.yml b/.github/workflows/update-homebrew.yml index 3ee95f2..d84ab6c 100644 --- a/.github/workflows/update-homebrew.yml +++ b/.github/workflows/update-homebrew.yml @@ -1,7 +1,7 @@ # .github/workflows/update-homebrew.yml name: Update Homebrew Tap permissions: - contents: write + contents: read on: release: