Skip to content
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

v0.0.7 Pre-Release #1

Merged
merged 8 commits into from
Jul 25, 2023
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
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Will report on:
- Variables
- Environments

Optionally you can choose to create a CSV in your file system (`-c` flag) and/or an issue (`-i` flag) in the target repo with the results.

The tool could be expanded to include other non-migratable settings (see [what is & isn't migrated](https://docs.github.com/en/migrations/using-github-enterprise-importer/understanding-github-enterprise-importer/migration-support-for-github-enterprise-importer#githubcom-migration-support) during a migration with [GEI](https://github.com/github/gh-gei)), and most likely will in the near future.

[![build](https://github.com/mona-actions/gh-pma/actions/workflows/build.yaml/badge.svg)](https://github.com/mona-actions/gh-pma/actions/workflows/build.yaml)
Expand All @@ -19,7 +21,6 @@ The tool could be expanded to include other non-migratable settings (see [what i
- Codespaces Secrets
- Dependabot Secrets
- Environmen Secrets & Vars (currently just Environments are detected)
- Create an issue on the target org repository with the list of items to mitigate.

## Prerequisites
- [GitHub CLI](https://cli.github.com/manual/installation) installed.
Expand Down Expand Up @@ -53,13 +54,15 @@ Usage:
gh pma [flags]
Flags:
--confirm Auto respond to confirmation prompt
--confirm Auto respond to visibility alignment confirmation prompt
-c, --create-csv Whether to create a CSV file with the results.
-i, --create-issues Whether to create issues in target org repositories or not.
--ghes-api-url string Required if migrating from GHES. The domain name for your GHES instance. For example: ghes.contoso.com (default "github.com")
--github-source-org string Uses GH_SOURCE_PAT env variable or --github-source-pat option. Will fall back to GH_PAT or --github-target-pat if not set.
--github-source-pat string
--github-target-org string Uses GH_PAT env variable or --github-target-pat option.
--github-target-pat string
-h, --help help for gh
-t, --threads int Number of threads to process concurrently. Maximum of 10 allowed. Increasing this number could get your PAT blocked due to API limiting. (default 3)
--threads int Number of threads to process concurrently. Maximum of 10 allowed. Increasing this number could get your PAT blocked due to API limiting. (default 3)
-v, --version version for gh
```
Loading