From 7dd29e09379ab5cebfcebfa73018d92d0a27eea2 Mon Sep 17 00:00:00 2001 From: Cmcilveen15 <111430004+Cmcilveen15@users.noreply.github.com> Date: Fri, 29 May 2026 17:53:41 +0100 Subject: [PATCH 1/2] Add basic permissions block to workflow Automated commit to add basic permissions block to workflow via GraphQL endpoint. --- .github/workflows/linux.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e3c2162..6b029ed 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,4 +1,9 @@ name: Get Lines of Code for GitHub Organizations +permissions: + contents: read + issues: read + pull-requests: write + on: workflow_dispatch: inputs: @@ -56,4 +61,4 @@ jobs: IFS=',' read -ra ORGS <<< "${{ github.event.inputs.prod_org_name }}" for org in "${ORGS[@]}"; do bundle exec ruby loc.rb "$org" - done + done \ No newline at end of file From 1686490eb7f79cfe1d049b33055be1a7b00ce0c4 Mon Sep 17 00:00:00 2001 From: Cmcilveen15 <111430004+Cmcilveen15@users.noreply.github.com> Date: Fri, 29 May 2026 17:53:43 +0100 Subject: [PATCH 2/2] Add basic permissions block to workflow Automated commit to add basic permissions block to workflow via GraphQL endpoint. --- .github/workflows/run.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 61ff23c..2cafa0a 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -1,4 +1,9 @@ name: run +permissions: + contents: read + issues: read + pull-requests: write + on: push: {} workflow_dispatch: