forked from cilium/team-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement GitHub Action for Team Creation #1
Draft
svg153
wants to merge
3
commits into
main
Choose a base branch
from
svg153/create-team-action
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implements the `createTeamCmd` function and updates GitHub Actions for team creation. - Adds the implementation for the `createTeamCmd` command in `cmd/teams.go`, enabling the creation of new GitHub teams and updating `team-assignments.yaml` with the new team's details. - Modifies the GitHub Action in `team-manager-github-action.yaml` to support team creation based on issue labels and content, including steps for reading issue content, creating the team, modifying `team-assignments.yaml`, creating a pull request, and linking the PR to the issue. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/svg153-org/team-manager/pull/1?shareId=18c4da7c-8d17-494a-a35b-6d55ec1df684).
Implements the
For more details, open the Copilot Workspace session. |
Introduce new functionality for team creation and update GitHub Actions workflow
For more details, open the Copilot Workspace session. |
Introduce new functionality for team creation and update GitHub Actions workflow - Implement a GitHub issue template for team creation requests, including fields for team name, description, privacy level, and optional parent team. - Add a `create-team` command in `cmd/teams.go` to create a new team on GitHub and update `team-assignments.yaml` with the new team's details. - Modify the GitHub Actions workflow `team-manager-github-action.yaml` to include a job for creating a team based on issue labels, and to update the workflow's `runs-on` version and checkout action version. - Introduce integration tests placeholders in `integration_tests/team_creation_test.go` and `integration_tests/github_actions_workflow_test.go` for simulating team creation processes, though the actual test implementations are skipped. - Update `.github/workflows/go.yaml` to include steps for running tests and displaying coverage, and modify the `Makefile` to add commands for running tests and generating coverage reports. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/svg153-org/team-manager/pull/1?shareId=f68f6dbd-4ed2-444e-b798-db0250f7ecde).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements the functionality to trigger a GitHub action upon issue creation for team creation, including the creation of a team on GitHub, modification of
team-assignments.yaml
, and linking the PR to the issue.team-manager-github-action.yaml
to trigger on issue events, specifically for team creation requests. It includes steps to read issue content, create the team on GitHub, modifyteam-assignments.yaml
, create a PR with the changes, and link the PR to the issue.create-team.yaml
in.github/ISSUE_TEMPLATE
for team creation requests. This template includes fields for team name, description, privacy, and an optional parent team, all required for creating a team on GitHub.cmd/teams.go
by adding a new subcommandcreate-team
intended for creating a new team on GitHub and updatingteam-assignments.yaml
. However, the actual implementation of the command's functionality is marked as a placeholder and not fully implemented in the provided code changes.For more details, open the Copilot Workspace session.