From 49f460292f6fbf48578755f60fd3e288db8a2cfd Mon Sep 17 00:00:00 2001 From: Steve Matney Date: Thu, 1 Feb 2024 11:02:17 -0700 Subject: [PATCH] Updating README with latest version --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2e6c241..ec5aab8 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ For failed test runs you can expand each failed test and view more details about ## Inputs | Parameter | Is Required | Default | Description | -|--------------------------------|-------------|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| ------------------------------ | ----------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `github-token` | true | N/A | Used for the GitHub Checks API. Value is generally: secrets.GITHUB_TOKEN. | | `results-file` | true | N/A | The json results file generated by cypress & mochawesome reporter. | | `report-name` | false | Cypress Test Results | The desired name of the report that is shown on the PR Comment and inside the Status Check. | @@ -75,7 +75,7 @@ For failed test runs you can expand each failed test and view more details about ## Outputs | Output | Description | -|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `test-outcome` | Test outcome based on presence of failing tests: _Failed,Passed_
If exceptions are thrown or if it exits early because of argument errors, this is set to Failed. | | `test-outcome-truncated` | `true` or `false`. Test outcome was truncated due to test-outcome markdown exceeding character limit of 65535 characters. | | `test-outcome-file-path` | Test Outcome Markdown file path. Primarily used when results exceed 65535 characters which is the status check limit. Can be used in following steps to upload full outcome as an action artifact | @@ -150,7 +150,7 @@ jobs: if: always() id: process-cypress # You may also reference just the major or major.minor version - uses: im-open/process-cypress-test-results@v2.2.0 + uses: im-open/process-cypress-test-results@v2.3.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} results-file: '${{ env.APP_DIR }}/raw-results.json' # Name set up in npm script `cypressreport` @@ -188,15 +188,15 @@ When creating PRs, please review the following guidelines: - [ ] The action code does not contain sensitive information. - [ ] At least one of the commit messages contains the appropriate `+semver:` keywords listed under [Incrementing the Version] for major and minor increments. -- [ ] The action has been recompiled. See [Recompiling Manually] for details. -- [ ] The README.md has been updated with the latest version of the action. See [Updating the README.md] for details. +- [ ] The action has been recompiled. See [Recompiling Manually] for details. +- [ ] The README.md has been updated with the latest version of the action. See [Updating the README.md] for details. ### Incrementing the Version -This repo uses [git-version-lite] in its workflows to examine commit messages to determine whether to perform a major, minor or patch increment on merge if [source code] changes have been made. The following table provides the fragment that should be included in a commit message to active different increment strategies. +This repo uses [git-version-lite] in its workflows to examine commit messages to determine whether to perform a major, minor or patch increment on merge if [source code] changes have been made. The following table provides the fragment that should be included in a commit message to active different increment strategies. | Increment Type | Commit Message Fragment | -|----------------|---------------------------------------------| +| -------------- | ------------------------------------------- | | major | +semver:breaking | | major | +semver:major | | minor | +semver:feature | @@ -205,15 +205,15 @@ This repo uses [git-version-lite] in its workflows to examine commit messages to ### Source Code Changes -The files and directories that are considered source code are listed in the `files-with-code` and `dirs-with-code` arguments in both the [build-and-review-pr] and [increment-version-on-merge] workflows. +The files and directories that are considered source code are listed in the `files-with-code` and `dirs-with-code` arguments in both the [build-and-review-pr] and [increment-version-on-merge] workflows. -If a PR contains source code changes, the README.md should be updated with the latest action version and the action should be recompiled. The [build-and-review-pr] workflow will ensure these steps are performed when they are required. The workflow will provide instructions for completing these steps if the PR Author does not initially complete them. +If a PR contains source code changes, the README.md should be updated with the latest action version and the action should be recompiled. The [build-and-review-pr] workflow will ensure these steps are performed when they are required. The workflow will provide instructions for completing these steps if the PR Author does not initially complete them. If a PR consists solely of non-source code changes like changes to the `README.md` or workflows under `./.github/workflows`, version updates and recompiles do not need to be performed. ### Recompiling Manually -This command utilizes [esbuild] to bundle the action and its dependencies into a single file located in the `dist` folder. If changes are made to the action's [source code], the action must be recompiled by running the following command: +This command utilizes [esbuild] to bundle the action and its dependencies into a single file located in the `dist` folder. If changes are made to the action's [source code], the action must be recompiled by running the following command: ```sh # Installs dependencies and bundles the code @@ -222,7 +222,7 @@ npm run build ### Updating the README.md -If changes are made to the action's [source code], the [usage examples] section of this file should be updated with the next version of the action. Each instance of this action should be updated. This helps users know what the latest tag is without having to navigate to the Tags page of the repository. See [Incrementing the Version] for details on how to determine what the next version will be or consult the first workflow run for the PR which will also calculate the next version. +If changes are made to the action's [source code], the [usage examples] section of this file should be updated with the next version of the action. Each instance of this action should be updated. This helps users know what the latest tag is without having to navigate to the Tags page of the repository. See [Incrementing the Version] for details on how to determine what the next version will be or consult the first workflow run for the PR which will also calculate the next version. ## Code of Conduct @@ -233,6 +233,7 @@ This project has adopted the [im-open's Code of Conduct](https://github.com/im-o Copyright © 2023, Extend Health, LLC. Code released under the [MIT license](LICENSE). + [Incrementing the Version]: #incrementing-the-version [Recompiling Manually]: #recompiling-manually [Updating the README.md]: #updating-the-readmemd