Skip to content

Commit 1d00bd8

Browse files
authored
fix(ci): use correct import syntax (#7788)
* fix(ci): use correct import syntax Signed-off-by: Aviv Keller <[email protected]> * Update find-inactive-collaborators.yml * Update find-inactive-collaborators.yml * Update find-inactive-collaborators.yml --------- Signed-off-by: Aviv Keller <[email protected]>
1 parent fefbf49 commit 1d00bd8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/find-inactive-collaborators.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77

88
workflow_dispatch:
99

10-
permissions: {}
10+
permissions:
11+
contents: read
12+
issues: write
1113

1214
jobs:
1315
find:
@@ -27,5 +29,5 @@ jobs:
2729
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
2830
with:
2931
script: |
30-
const report = await import("${{github.workspace}}/.github/scripts/report-inactive-collaborators.mjs");
31-
report(github, exec);
32+
const { default: report } = await import("${{github.workspace}}/.github/scripts/report-inactive-collaborators.mjs");
33+
report(github, context);

0 commit comments

Comments
 (0)