Skip to content

Commit

Permalink
Fix some of the errors caunt by linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Mar 6, 2024
1 parent 523f2af commit 1516c64
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
Expand Up @@ -266,11 +266,11 @@ env:

## `defaults.run.shell`

{% data reusables.actions.jobs.setting-default-values-for-jobs-defaults-run-shell %}
{% data reusables.actions.setting-default-values-for-jobs-defaults-run-shell %}

Check failure on line 269 in content/actions/using-workflows/workflow-syntax-for-github-actions.md

View workflow job for this annotation

GitHub Actions / lint-content

Liquid data or indented data references were found in content that have no value or do not exist in the data directory

The Liquid data reference {% data reusables.actions.setting-default-values-for-jobs-defaults-run-shell %} is used in content but either does not exist or has no value.

## `defaults.run.working-directory`

{% data reusables.actions.jobs.setting-default-values-for-jobs-defaults-run-working-directory %}
{% data reusables.actions.setting-default-values-for-jobs-defaults-run-working-directory %}

Check failure on line 273 in content/actions/using-workflows/workflow-syntax-for-github-actions.md

View workflow job for this annotation

GitHub Actions / lint-content

Liquid data or indented data references were found in content that have no value or do not exist in the data directory

The Liquid data reference {% data reusables.actions.setting-default-values-for-jobs-defaults-run-working-directory %} is used in content but either does not exist or has no value.

## `concurrency`

Expand Down
Expand Up @@ -3,8 +3,8 @@ Use `shell` to define the `shell` for a step. {% data reusables.actions.reusable
{% data reusables.actions.supported-shells %}

The `shell` for a step is taken from the first defined in this list:
1. the step `jobs.<job_id>.steps[*].run.shell`. See [`jobs.<job_id>.steps[*].shell`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell).
1. the job `jobs.<job_id>.defaults.run.shell`. See [`jobs.<job_id>.defaults.run.shell`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrunshell).
1. the workflow `defaults.run.shell`. See [`defaults.run.shell`](/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrunshell).
1. The step `jobs.<job_id>.steps[*].run.shell`. See [`jobs.<job_id>.steps[*].shell`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell).
1. The job `jobs.<job_id>.defaults.run.shell`. See [`jobs.<job_id>.defaults.run.shell`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrunshell).
1. The workflow `defaults.run.shell`. See [`defaults.run.shell`](/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrunshell).

{% data reusables.actions.defaults-override %}
Expand Up @@ -3,8 +3,8 @@ Use `working-directory` to define the working directory for the `shell` for a st
{% data reusables.actions.working-directory-must-exist %}

The `working-directory` for a step is taken from the first defined in this list:
1. the step `jobs.<job_id>.steps[*].run.working-directory`. See [`jobs.<job_id>.steps[*].working-directory`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsworking-directory).
1. the job `jobs.<job_id>.defaults.run.working-directory`. See [`jobs.<job_id>.defaults.run.working-directory`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrunworkingdirectory).
1. the workflow `defaults.run.working-directory`. See [`defaults.run.working-directory`](/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrunworkingdirectory).
1. The step `jobs.<job_id>.steps[*].run.working-directory`. See [`jobs.<job_id>.steps[*].working-directory`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsworking-directory).
1. The job `jobs.<job_id>.defaults.run.working-directory`. See [`jobs.<job_id>.defaults.run.working-directory`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrunworkingdirectory).
1. The workflow `defaults.run.working-directory`. See [`defaults.run.working-directory`](/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrunworkingdirectory).

{% data reusables.actions.defaults-override %}
3 changes: 1 addition & 2 deletions data/reusables/actions/reusable-keyword.md
@@ -1,2 +1 @@
This keyword can reference several contexts. For more information, see "[Contexts](/actions/learn-github-actions/contexts#context-availability)."

This keyword can reference several contexts. For more information, see "[Contexts](/actions/learn-github-actions/contexts#context-availability)."
@@ -1,6 +1,5 @@
{% note %}

**Note:** If the `working-directory` does not exist, the step will probably fail to run the `shell`.
**Note:** If the `working-directory` does not exist, the step will probably fail to run the `shell`.

{% endnote %}

0 comments on commit 1516c64

Please sign in to comment.