diff --git a/assets/images/help/images/overview-actions-result-updated.png b/assets/images/help/images/overview-actions-result-updated.png new file mode 100644 index 000000000000..7481d6314efe Binary files /dev/null and b/assets/images/help/images/overview-actions-result-updated.png differ diff --git a/assets/images/help/repository/annotated-workflow.png b/assets/images/help/repository/annotated-workflow.png deleted file mode 100644 index a41ccb1c6e27..000000000000 Binary files a/assets/images/help/repository/annotated-workflow.png and /dev/null differ diff --git a/assets/images/help/repository/check-suite-list.png b/assets/images/help/repository/check-suite-list.png deleted file mode 100644 index 930ac15afa63..000000000000 Binary files a/assets/images/help/repository/check-suite-list.png and /dev/null differ diff --git a/assets/images/help/repository/copy-link-button-updated.png b/assets/images/help/repository/copy-link-button-updated.png new file mode 100644 index 000000000000..c97e9e8f0e99 Binary files /dev/null and b/assets/images/help/repository/copy-link-button-updated.png differ diff --git a/assets/images/help/repository/copy-link-button.png b/assets/images/help/repository/copy-link-button.png index 669a1761e089..db1697057a2f 100644 Binary files a/assets/images/help/repository/copy-link-button.png and b/assets/images/help/repository/copy-link-button.png differ diff --git a/assets/images/help/repository/delete-all-logs-updated.png b/assets/images/help/repository/delete-all-logs-updated.png new file mode 100644 index 000000000000..606cd73dc5f4 Binary files /dev/null and b/assets/images/help/repository/delete-all-logs-updated.png differ diff --git a/assets/images/help/repository/download-logs-drop-down-updated.png b/assets/images/help/repository/download-logs-drop-down-updated.png new file mode 100644 index 000000000000..9ea6f0e8fcf5 Binary files /dev/null and b/assets/images/help/repository/download-logs-drop-down-updated.png differ diff --git a/assets/images/help/repository/failed-check-step.png b/assets/images/help/repository/failed-check-step.png index 00c71f7905a0..2456e66ff566 100644 Binary files a/assets/images/help/repository/failed-check-step.png and b/assets/images/help/repository/failed-check-step.png differ diff --git a/assets/images/help/repository/javascript-action-workflow-run-updated.png b/assets/images/help/repository/javascript-action-workflow-run-updated.png new file mode 100644 index 000000000000..96295121c8f0 Binary files /dev/null and b/assets/images/help/repository/javascript-action-workflow-run-updated.png differ diff --git a/assets/images/help/repository/search-log-box-updated.png b/assets/images/help/repository/search-log-box-updated.png new file mode 100644 index 000000000000..f62601e7f63c Binary files /dev/null and b/assets/images/help/repository/search-log-box-updated.png differ diff --git a/assets/images/help/repository/search-log-box.png b/assets/images/help/repository/search-log-box.png index 57a7311ca74e..5f7d2952ec73 100644 Binary files a/assets/images/help/repository/search-log-box.png and b/assets/images/help/repository/search-log-box.png differ diff --git a/assets/images/help/repository/super-linter-workflow-results-updated.png b/assets/images/help/repository/super-linter-workflow-results-updated.png new file mode 100644 index 000000000000..2c6c9b53a9a5 Binary files /dev/null and b/assets/images/help/repository/super-linter-workflow-results-updated.png differ diff --git a/assets/images/help/repository/workflow-run-kebab-horizontal-icon-updated.png b/assets/images/help/repository/workflow-run-kebab-horizontal-icon-updated.png new file mode 100644 index 000000000000..dfdb988fa0a3 Binary files /dev/null and b/assets/images/help/repository/workflow-run-kebab-horizontal-icon-updated.png differ diff --git a/content/actions/creating-actions/creating-a-javascript-action.md b/content/actions/creating-actions/creating-a-javascript-action.md index 74362b6f2a45..8f31bcdb57f9 100644 --- a/content/actions/creating-actions/creating-a-javascript-action.md +++ b/content/actions/creating-actions/creating-a-javascript-action.md @@ -263,4 +263,8 @@ jobs: From your repository, click the **Actions** tab, and select the latest workflow run. You should see "Hello Mona the Octocat" or the name you used for the `who-to-greet` input and the timestamp printed in the log. +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +![A screenshot of using your action in a workflow](/assets/images/help/repository/javascript-action-workflow-run-updated.png) +{% else %} ![A screenshot of using your action in a workflow](/assets/images/help/repository/javascript-action-workflow-run.png) +{% endif %} \ No newline at end of file diff --git a/content/actions/learn-github-actions/introduction-to-github-actions.md b/content/actions/learn-github-actions/introduction-to-github-actions.md index 2975ab9676e9..7c2fa9ec700a 100644 --- a/content/actions/learn-github-actions/introduction-to-github-actions.md +++ b/content/actions/learn-github-actions/introduction-to-github-actions.md @@ -213,8 +213,13 @@ Once your job has started running, you can view each step's activity on {% data ![Screenshot of workflow results](/assets/images/help/images/learn-github-actions-workflow.png) 1. Under "Workflow runs", click the name of the run you want to see. ![Screenshot of workflow runs](/assets/images/help/images/learn-github-actions-run.png) +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +1. Click on the job name to see the results of each step. + ![Screenshot of workflow run details](/assets/images/help/images/overview-actions-result-updated.png) +{% else %} 1. Click on the job name to see the results of each step. ![Screenshot of workflow run details](/assets/images/help/images/overview-actions-result.png) +{% endif %} ### Next steps diff --git a/content/actions/managing-workflow-runs/using-workflow-run-logs.md b/content/actions/managing-workflow-runs/using-workflow-run-logs.md index 34a54f88694b..7d32e82a08fa 100644 --- a/content/actions/managing-workflow-runs/using-workflow-run-logs.md +++ b/content/actions/managing-workflow-runs/using-workflow-run-logs.md @@ -14,8 +14,6 @@ You can see whether a workflow run is in progress or complete from the workflow If the run is complete, you can see whether the result was a success, failure, canceled, or neutral. If the run failed, you can view and search the build logs to diagnose the failure and re-run the workflow. You can also view billable job execution minutes, or download logs and build artifacts. - ![Annotated workflow run image](/assets/images/help/repository/annotated-workflow.png) - {% data variables.product.prodname_actions %} use the Checks API to output statuses, results, and logs for a workflow. {% data variables.product.prodname_dotcom %} creates a new check suite for each workflow run. The check suite contains a check run for each job in the workflow, and each job includes steps. {% data variables.product.prodname_actions %} are run as a step in a workflow. For more information about the Checks API, see "[Checks](/v3/checks/)." {% data reusables.github-actions.invalid-workflow-files %} @@ -30,13 +28,11 @@ For jobs run on {% data variables.product.prodname_dotcom %}-hosted runners, "Se {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %} -{% data reusables.repositories.navigate-to-workflow %} -{% data reusables.repositories.view-run %} -{% data reusables.repositories.navigate-to-job %} -6. To expand the log for a failed step, click the step. - ![Failed step name](/assets/images/help/repository/failed-check-step.png) -7. Optionally, to get a link to a specific line in the logs, click on the step's line number. You can copy the link from the address bar of your web browser. - ![Button to copy link](/assets/images/help/repository/copy-link-button.png) +{% data reusables.repositories.navigate-to-workflow-superlinter %} +{% data reusables.repositories.view-run-superlinter %} +{% data reusables.repositories.navigate-to-job-superlinter %} +{% data reusables.repositories.view-failed-job-results-superlinter %} +{% data reusables.repositories.view-specific-line-superlinter %} ### Searching logs @@ -44,13 +40,18 @@ You can search the build logs for a particular step. When you search logs, only {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %} -{% data reusables.repositories.navigate-to-workflow %} -{% data reusables.repositories.view-run %} -{% data reusables.repositories.navigate-to-job %} -6. To expand each step you want to include in your search, click the step. +{% data reusables.repositories.navigate-to-workflow-superlinter %} +{% data reusables.repositories.view-run-superlinter %} +{% data reusables.repositories.navigate-to-job-superlinter %} +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +1. In the upper-right corner of the log output, in the **Search logs** search box, type a search query. + ![Search box to search logs](/assets/images/help/repository/search-log-box-updated.png) +{% else %} +1. To expand each step you want to include in your search, click the step. ![Step name](/assets/images/help/repository/failed-check-step.png) -7. In the upper-right corner of the log output, in the **Search logs** search box, type a search query. +1. In the upper-right corner of the log output, in the **Search logs** search box, type a search query. ![Search box to search logs](/assets/images/help/repository/search-log-box.png) +{% endif %} ### Downloading logs @@ -58,12 +59,16 @@ You can download the log files from your workflow run. You can also download a w {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %} -{% data reusables.repositories.navigate-to-workflow %} -{% data reusables.repositories.view-run %} -1. In the left sidebar, select any job. - ![Select a workflow job](/assets/images/help/repository/workflow-job.png) -2. In the upper right corner, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} and select **Download log archive**. +{% data reusables.repositories.navigate-to-workflow-superlinter %} +{% data reusables.repositories.view-run-superlinter %} +{% data reusables.repositories.navigate-to-job-superlinter %} +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +1. In the upper right corner, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} and select **Download log archive**. + ![Download logs drop-down menu](/assets/images/help/repository/download-logs-drop-down-updated.png) +{% else %} +1. In the upper right corner, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} and select **Download log archive**. ![Download logs drop-down menu](/assets/images/help/repository/download-logs-drop-down.png) +{% endif %} ### Deleting logs @@ -71,10 +76,18 @@ You can delete the log files from your workflow run. {% data reusables.repositor {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %} -{% data reusables.repositories.navigate-to-workflow %} -{% data reusables.repositories.view-run %} +{% data reusables.repositories.navigate-to-workflow-superlinter %} +{% data reusables.repositories.view-run-superlinter %} +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +1. In the upper right corner, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %}. + ![Kebab-horizontal icon](/assets/images/help/repository/workflow-run-kebab-horizontal-icon-updated.png) +2. To delete the log files, click the **Delete all logs** button and review the confirmation prompt. + ![Delete all logs](/assets/images/help/repository/delete-all-logs-updated.png) +After deleting logs, the **Delete all logs** button is removed to indicate that no log files remain in the workflow run. +{% else %} 1. In the upper right corner, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %}. ![Kebab-horizontal icon](/assets/images/help/repository/workflow-run-kebab-horizontal-icon.png) 2. To delete the log files, click the **Delete all logs** button and review the confirmation prompt. ![Delete all logs](/assets/images/help/repository/delete-all-logs.png) -After deleting logs, the **Delete all logs** button is removed to indicate that no log files remain in the workflow run. +After the logs have been deleted, the **Delete all logs** button is removed to indicate that no log files remain in the workflow run. +{% endif %} diff --git a/content/actions/quickstart.md b/content/actions/quickstart.md index ed384ae4fdcd..27c500c0b7bd 100644 --- a/content/actions/quickstart.md +++ b/content/actions/quickstart.md @@ -56,15 +56,13 @@ Committing the workflow file in your repository triggers the `push` event and ru ### Viewing your workflow results +{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.actions-tab %} -1. In the left sidebar, click the workflow you want to see. - ![Workflow list in left sidebar](/assets/images/help/repository/superlinter-workflow-sidebar.png) -1. From the list of workflow runs, click the name of the run you want to see. -![Name of workflow run](/assets/images/help/repository/superlinter-run-name.png) +{% data reusables.repositories.navigate-to-workflow-superlinter %} +{% data reusables.repositories.view-run-superlinter %} 1. In the left sidebar, click the **Lint code base** job. ![Lint code base job](/assets/images/help/repository/superlinter-lint-code-base-job.png) -2. Expand the **Run Super-Linter** step to view the results. - ![Super linter workflow results](/assets/images/help/repository/super-linter-workflow-results.png) +{% data reusables.repositories.view-failed-job-results-superlinter %} ### More starter workflows diff --git a/data/reusables/repositories/navigate-to-job-superlinter.md b/data/reusables/repositories/navigate-to-job-superlinter.md new file mode 100644 index 000000000000..d61e61031b9d --- /dev/null +++ b/data/reusables/repositories/navigate-to-job-superlinter.md @@ -0,0 +1,7 @@ +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +1. In the left sidebar, click the job you want to see. + ![Lint code base job](/assets/images/help/repository/superlinter-lint-code-base-job.png) +{% else %} +1. In the left sidebar, click the job you want to see. + ![Select a workflow job](/assets/images/help/repository/workflow-job.png) +{% endif %} \ No newline at end of file diff --git a/data/reusables/repositories/navigate-to-job.md b/data/reusables/repositories/navigate-to-job.md deleted file mode 100644 index a6f325191754..000000000000 --- a/data/reusables/repositories/navigate-to-job.md +++ /dev/null @@ -1,2 +0,0 @@ -1. In the left sidebar, click the job you want to see. - ![List of jobs in left sidebar](/assets/images/help/repository/check-suite-list.png) diff --git a/data/reusables/repositories/navigate-to-workflow-superlinter.md b/data/reusables/repositories/navigate-to-workflow-superlinter.md new file mode 100644 index 000000000000..eded8bd015e7 --- /dev/null +++ b/data/reusables/repositories/navigate-to-workflow-superlinter.md @@ -0,0 +1,2 @@ +1. In the left sidebar, click the workflow you want to see. + ![Workflow list in left sidebar](/assets/images/help/repository/superlinter-workflow-sidebar.png) \ No newline at end of file diff --git a/data/reusables/repositories/view-failed-job-results-superlinter.md b/data/reusables/repositories/view-failed-job-results-superlinter.md new file mode 100644 index 000000000000..62430616893c --- /dev/null +++ b/data/reusables/repositories/view-failed-job-results-superlinter.md @@ -0,0 +1,7 @@ +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +1. Any failed steps are automatically expanded to display the results. + ![Super linter workflow results](/assets/images/help/repository/super-linter-workflow-results-updated.png) +{% else %} +1. Expand the **Run Super-Linter** step to view the results. + ![Super linter workflow results](/assets/images/help/repository/super-linter-workflow-results.png) +{% endif %} \ No newline at end of file diff --git a/data/reusables/repositories/view-run-superlinter.md b/data/reusables/repositories/view-run-superlinter.md new file mode 100644 index 000000000000..059ba54b86e1 --- /dev/null +++ b/data/reusables/repositories/view-run-superlinter.md @@ -0,0 +1,2 @@ +1. From the list of workflow runs, click the name of the run you want to see. +![Name of workflow run](/assets/images/help/repository/superlinter-run-name.png) \ No newline at end of file diff --git a/data/reusables/repositories/view-specific-line-superlinter.md b/data/reusables/repositories/view-specific-line-superlinter.md new file mode 100644 index 000000000000..bfffe68a9490 --- /dev/null +++ b/data/reusables/repositories/view-specific-line-superlinter.md @@ -0,0 +1,7 @@ +{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %} +1. Optionally, to get a link to a specific line in the logs, click on the step's line number. You can then copy the link from the address bar of your web browser. + ![Button to copy link](/assets/images/help/repository/copy-link-button-updated.png) +{% else %} +1. Optionally, to get a link to a specific line in the logs, click on the step's line number. You can then copy the link from the address bar of your web browser. + ![Button to copy link](/assets/images/help/repository/copy-link-button.png) +{% endif %} \ No newline at end of file