From 426b3e9884c016fc988389f8a76d84834fa9b6dd Mon Sep 17 00:00:00 2001 From: Ben Street <65309416+BenStreet365@users.noreply.github.com> Date: Fri, 30 Aug 2024 21:45:49 +0100 Subject: [PATCH 1/2] Update github.md Adding additional instructions to clarify repository options to prevent duplication of tests --- website/docs/monitoring/github.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/website/docs/monitoring/github.md b/website/docs/monitoring/github.md index bc8cbb1f..4b785f08 100644 --- a/website/docs/monitoring/github.md +++ b/website/docs/monitoring/github.md @@ -25,7 +25,20 @@ GitHub is the quickest and easiest way to get started with automating Maester. T - If you are new to GitHub, create an account at [github.com](https://github.com/join) -### Create a new repository and import the Maester Tests repository +## Use the latest, or keep control of your versions? + +You may want to always use the latest, or you may want to control the tests running each time. The two options below provide a choice for each. + +### 1. Create a blank new repository to always use the latest available public Maester Tests + +- Open [https://github.com/new](https://github.com/new) +- Fill in the following fields: + - **Repository name**: E.g. `maester-tests` + - **Add a README file**: Select this option to initialize your repository + - **Private**: Select this option to keep your tests private +- Select **Create repository** + +### 2. Create a new repository and import the Maester Tests repository, to keep updated yourself - Open [https://github.com/new/import](https://github.com/new/import) - Fill in the following fields: @@ -104,6 +117,10 @@ jobs: with: client_id: ${{ secrets.AZURE_CLIENT_ID }} tenant_id: ${{ secrets.AZURE_TENANT_ID }} + include_public_tests: true # Optional: Set to false if you are keeping to a certain version of tests or have your own tests + step_summary: true # Optional: Set to false if you don't want a summary added to your GitHub Action run + artifact_upload: true # Optional: Set to false if you don't want summaries uploaded to GitHub Artifacts + # Other inputs are available and can be reviewed in the action.yml in the Maester repository ``` From 3d8bc7036c2145dd9bd472001e63cdae23682146 Mon Sep 17 00:00:00 2001 From: Ben Street <65309416+BenStreet365@users.noreply.github.com> Date: Fri, 30 Aug 2024 21:46:37 +0100 Subject: [PATCH 2/2] Grammar correction --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2c7ec3a6..9da44f7d 100644 --- a/action.yml +++ b/action.yml @@ -45,7 +45,7 @@ inputs: default: true artifact_upload: type: boolean - description: "Define whether the results are uploaded as Artifacts" + description: "Define whether the results are uploaded as Artifacts." required: false default: true