From 5f3627849c9f8e21775c81cb9f1ed47bd04f3ab4 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 29 May 2025 06:57:59 -0400 Subject: [PATCH 1/4] fix(ci): use correct import syntax Signed-off-by: Aviv Keller --- .github/workflows/find-inactive-collaborators.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml index 70d9ae441c90e..9f8fc79052495 100644 --- a/.github/workflows/find-inactive-collaborators.yml +++ b/.github/workflows/find-inactive-collaborators.yml @@ -27,5 +27,5 @@ jobs: uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: script: | - const report = await import("${{github.workspace}}/.github/scripts/report-inactive-collaborators.mjs"); + const { default: report } = await import("${{github.workspace}}/.github/scripts/report-inactive-collaborators.mjs"); report(github, exec); From 54f26da85532d1d99931589ebd1137cb029f49d2 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 29 May 2025 06:59:51 -0400 Subject: [PATCH 2/4] Update find-inactive-collaborators.yml --- .github/workflows/find-inactive-collaborators.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml index 9f8fc79052495..96c00f3566de9 100644 --- a/.github/workflows/find-inactive-collaborators.yml +++ b/.github/workflows/find-inactive-collaborators.yml @@ -28,4 +28,4 @@ jobs: with: script: | const { default: report } = await import("${{github.workspace}}/.github/scripts/report-inactive-collaborators.mjs"); - report(github, exec); + report(github, exec, context); From 38210a0168838f21596d09483ea527a131b419e3 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 29 May 2025 07:01:41 -0400 Subject: [PATCH 3/4] Update find-inactive-collaborators.yml --- .github/workflows/find-inactive-collaborators.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml index 96c00f3566de9..147f5b25bd5ac 100644 --- a/.github/workflows/find-inactive-collaborators.yml +++ b/.github/workflows/find-inactive-collaborators.yml @@ -28,4 +28,4 @@ jobs: with: script: | const { default: report } = await import("${{github.workspace}}/.github/scripts/report-inactive-collaborators.mjs"); - report(github, exec, context); + report(github, context); From fd2ef7b02ae1b3dbbd9da9796aef1668d3887f49 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 29 May 2025 07:02:55 -0400 Subject: [PATCH 4/4] Update find-inactive-collaborators.yml --- .github/workflows/find-inactive-collaborators.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml index 147f5b25bd5ac..d537b4d425bbb 100644 --- a/.github/workflows/find-inactive-collaborators.yml +++ b/.github/workflows/find-inactive-collaborators.yml @@ -7,7 +7,9 @@ on: workflow_dispatch: -permissions: {} +permissions: + contents: read + issues: write jobs: find: