Skip to content

Commit f064068

Browse files
committed
upgrade@14572646424
1 parent 773d3f8 commit f064068

File tree

5 files changed

+48
-55
lines changed

5 files changed

+48
-55
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "npm"
8+
directory: "/scripts/"
9+
schedule:
10+
interval: "weekly"

scripts/package-lock.json

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

scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@octokit/types": "^14.0.0",
3838
"@types/deep-diff": "^1.0.5",
3939
"@types/node": "^22.14.1",
40-
"eslint": "^9.24.0",
40+
"eslint": "^9.25.0",
4141
"eslint-config-prettier": "^10.1.2",
4242
"eslint-plugin-prettier": "^5.2.6",
4343
"prettier": "^3.5.3",

scripts/src/actions/shared/describe-access-changes.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,12 @@ export async function describeAccessChanges(
177177
)
178178
}
179179
if (change.rhs.repositories) {
180+
const repositories = change.rhs.repositories as unknown as Record<
181+
string,
182+
{permission: string}
183+
>
180184
for (const [repository, {permission}] of Object.entries(
181-
change.rhs.repositories.repositories
185+
repositories
182186
)) {
183187
lines.push(
184188
` - will gain ${permission} permission to ${repository}`
@@ -197,8 +201,12 @@ export async function describeAccessChanges(
197201
lines.push(` - will leave the organization`)
198202
}
199203
if (change.lhs.repositories) {
204+
const repositories = change.lhs.repositories as unknown as Record<
205+
string,
206+
{permission: string}
207+
>
200208
for (const [repository, {permission}] of Object.entries(
201-
change.lhs.repositories.repositories
209+
repositories
202210
)) {
203211
lines.push(
204212
` - will lose ${permission} permission to ${repository}`

scripts/src/resources/team-member.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export class TeamMember extends String implements Resource {
6161
r.type === Team.StateType &&
6262
r.index === teamIndex
6363
)
64-
console.log(teamIndex, team)
6564
members.push(
6665
new TeamMember(
6766
team !== undefined && team.type === Team.StateType

0 commit comments

Comments
 (0)