Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/graformer/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ runs:
return `${resourceChange.type} :: ${actualChange.repository}/${actualChange.name}`
}else if(resourceChange.type === 'github_repository_collaborator'){
return `${resourceChange.type} :: ${actualChange.repository}/${actualChange.username}`
}else if(resourceChange.type === 'github_branch'){
return `${resourceChange.type} :: ${actualChange.repository}/${actualChange.branch}`
}else if(resourceChange.type === 'github_branch_default'){
return `${resourceChange.type} :: ${actualChange.repository}/${actualChange.branch}`
}else if(resourceChange.type === 'github_team_repository'){
Expand Down
2 changes: 1 addition & 1 deletion docs/renaming-teams-and-members.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Terraform plan: 0 to import, 0 to add, 1 to change, 0 to destroy.
with a `Resources to update:` section and **no** `Resources to recreate:` section. The plan job counts recreates into both the add and the destroy totals, so `0 to destroy` is the check that matters.

> [!NOTE]
> Organisation resources have no display-name mapping in the plan summary, so they render as `unknown type github_team. resource address: github_team.team["New Name"]`. That is expected, not a failure.
> Organisation resources render in the plan summary with a display name, e.g. `github_team :: New Name` and `github_team_membership :: alice/New Name (maintainer)`.

Merge PR 1. The apply renames the team on GitHub and its slug becomes `new-slug`.

Expand Down
Loading