Skip to content

Commit 8fb854e

Browse files
feat(dist): updating packages and pushing index dist change
1 parent 3a96594 commit 8fb854e

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

dist/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29163,6 +29163,10 @@ const run = async () => {
2916329163
q: `author:${login} org:${input.organization} committer-date:<${formattedSince}`,
2916429164
});
2916529165
activity.commits = commits;
29166+
await octokit.rest.search.issuesAndPullRequests({
29167+
q: `author:${login} org:${input.organization} created:<${formattedSince}`,
29168+
});
29169+
await octokit.rest;
2916629170
}
2916729171
console.log(users);
2916829172
};

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ export const run = async (): Promise<void> => {
3030
const formattedSince = since.toISOString().slice(0, 10);
3131

3232
type userActivity = {
33-
commits?: any,
33+
commits?: unknown,
3434
_user: typeof usersResponse[0];
3535
};
36-
const users = usersResponse.reduce((acc, user) => {
36+
const users: Record<string, userActivity> = usersResponse.reduce((acc, user) => {
3737
acc[user.login] = {
3838
_user: user
3939
};
@@ -46,7 +46,7 @@ export const run = async (): Promise<void> => {
4646
});
4747
activity.commits = commits;
4848

49-
const issues = await octokit.rest.search.issuesAndPullRequests({
49+
await octokit.rest.search.issuesAndPullRequests({
5050
q: `author:${login} org:${input.organization} created:<${formattedSince}`,
5151
});
5252

0 commit comments

Comments
 (0)