Skip to content

Commit fa449c8

Browse files
committed
Debugging
1 parent 513a862 commit fa449c8

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ inputs:
4444
runs:
4545
using: "composite"
4646
steps:
47-
- name: Login to docker.pkg.github.com
47+
- name: Login to ghcr.io
4848
shell: bash
4949
run: echo ${PASSWORD} | docker login --username ${USERNAME} --password-stdin ghcr.io
5050
env:
5151
USERNAME: ${{ inputs.github-actor }}
5252
PASSWORD: ${{ inputs.github-token }}
5353
- name: Run
5454
run: |
55-
docker run --rm \
55+
echo docker run --rm \
5656
-e GOOGLE_EMAIL_ADDRESS="$GOOGLE_EMAIL_ADDRESS" \
5757
-e GOOGLE_CREDENTIALS="$GOOGLE_CREDENTIALS" \
5858
-e ADD_USERS="$ADD_USERS" \

package-lock.json

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.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"author": "Chris Nesbitt-Smith",
1313
"license": "MIT",
1414
"devDependencies": {
15-
"@octokit/types": "7.2.0",
15+
"@octokit/types": "^7.2.0",
1616
"@types/jest": "28.1.8",
1717
"@typescript-eslint/eslint-plugin": "5.36.1",
1818
"@typescript-eslint/parser": "5.36.1",

src/google.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ export async function getGithubUsersFromGoogle(): Promise<Set<string>> {
4545
}
4646

4747
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
48-
export function formatUserList(users): Set<string> {
48+
export function formatUserList(users: any[]): Set<string> {
4949
return new Set(
5050
users
51-
.map((user) => user.customSchemas?.Accounts?.github?.map((account) => account.value?.toLowerCase()))
51+
.map((user) =>
52+
user.customSchemas?.Accounts?.github?.map((account: { value: string }) => account.value?.toLowerCase()),
53+
)
5254
.flat()
5355
.filter(Boolean),
5456
)

0 commit comments

Comments
 (0)