generated from salesforcecli/plugin-template-sf
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4e24a5
commit f328a87
Showing
7 changed files
with
43 additions
and
42 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
# summary | ||
|
||
Configure github repo for Actions pipeline. | ||
Configure a GitHub repo for the GitHub Actions pipeline. | ||
|
||
# description | ||
|
||
Sets up labels and exempts the CLI bot for branch protection and PR rules | ||
Sets up labels and exempts the CLI bot for branch protection and PR rules. | ||
|
||
# flags.repository.summary | ||
|
||
The github owner/repo | ||
GitHub owner/repo for which you want to configure GitHub Actions. | ||
|
||
# flags.dryRun.summary | ||
|
||
Make no changes | ||
Make no changes. | ||
|
||
# examples | ||
|
||
- <%= config.bin %> <%= command.id %> -r salesforcecli/testPackageRelease | ||
- Configure the repo "tesetPackageRelease", with owner "salesforcecli", for GitHub Actions. | ||
|
||
<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease | ||
|
||
# flags.bot.summary | ||
|
||
The github login/username for the bot. | ||
GitHub login/username for the bot. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
# summary | ||
|
||
Ensures a repo has correct access to secrets based on its workflows | ||
Ensures a GitHub repo has correct access to secrets based on its workflows. | ||
|
||
# description | ||
|
||
Inspects a repo's yaml files and verifies that secrets required are available for the repo (either set at the repo level or shared via organization-level secrets). | ||
|
||
This command requires scope:admin permissions to inspect the org secrets and admin access to the repo to inspect the repo secrets | ||
This command requires scope:admin permissions to inspect the org secrets and admin access to the repo to inspect the repo secrets. | ||
|
||
# flags.repository.summary | ||
|
||
The github owner/repo | ||
Github owner/repo. | ||
|
||
# flags.dryRun.summary | ||
|
||
Make no changes | ||
Make no changes. | ||
|
||
# examples | ||
|
||
- <%= config.bin %> <%= command.id %> -r salesforcecli/testPackageRelease | ||
- Ensure secrets access for the repo "tesetPackageRelease", with owner "salesforcecli": | ||
|
||
- <%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
# summary | ||
|
||
Convert a .json messages file | ||
Convert a .json messages file into Markdown. | ||
|
||
# description | ||
|
||
Converts a .json messages file to markdown. Preserves the filename and the original messages file, creating a new file with the markdown extensions. Once you review the file, delete it | ||
Preserves the filename and the original messages file, then creates a new file with the Markdown extension and standard headers for the command and flag summaries, descriptions, and so on. After you review the new Markdown file, delete the old .json file. | ||
|
||
# flags.filename.summary | ||
|
||
Filename to convert | ||
Filename to convert. | ||
|
||
# flags.project-dir.summary | ||
|
||
Location of the project whose messages are to be audited. | ||
Location of the project whose messages are to be converted. | ||
|
||
# flags.project-dir.description | ||
# examples | ||
|
||
Location of the project whose messages are to be audited. | ||
- Convert the my-command.json message file into my-command.md with the standard messages headers: | ||
|
||
# examples | ||
<%= config.bin %> <%= command.id %> --filename my-command.json | ||
|
||
- Similar to previous example, but specify the plugin project directory: | ||
|
||
- <%= config.bin %> <%= command.id %> --filename something.json | ||
- <%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename something.json | ||
- <%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json |
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
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
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