Skip to content

Commit 7508f78

Browse files
authored
Merge pull request #60624 from github/repo-sync
Repo sync
2 parents f9b5cb0 + 03965ca commit 7508f78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/actions/reference/workflows-and-actions/contexts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The `github` context contains information about the workflow run and the event t
174174
|---------------|------|-------------|
175175
| `github` | `object` | The top-level context available during any job or step in a workflow. This object contains all the properties listed below. |
176176
| `github.action` | `string` | The name of the action currently running, or the [`id`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsid) of a step. {% data variables.product.prodname_dotcom %} removes special characters, and uses the name `__run` when the current step runs a script without an `id`. If you use the same action more than once in the same job, the name will include a suffix with the sequence number with underscore before it. For example, the first script you run will have the name `__run`, and the second script will be named `__run_2`. Similarly, the second invocation of `actions/checkout` will be `actionscheckout2`. |
177-
| `github.action_path` | `string` | The path where an action is located. This property is only supported in composite actions. You can use this path to access files located in the same repository as the action, for example by changing directories to the path: {% raw %} `cd ${{ github.action_path }}` {% endraw %}. |
177+
| `github.action_path` | `string` | The path where an action is located. This property is only supported in composite actions. You can use this path to access files located in the same repository as the action, for example by changing directories to the path (using the corresponding enviroment variable): {% raw %} `cd "$GITHUB_ACTION_PATH"` {% endraw %}. For more information on evironment variables, see [AUTOTITLE](/actions/reference/security/secure-use#use-an-intermediate-environment-variable). |
178178
| `github.action_ref` | `string` | For a step executing an action, this is the ref of the action being executed. For example, `v2`.<br><br>{% data reusables.actions.composite-actions-unsupported-refs %} |
179179
| `github.action_repository` | `string` | For a step executing an action, this is the owner and repository name of the action. For example, `actions/checkout`.<br><br>{% data reusables.actions.composite-actions-unsupported-refs %} |
180180
| `github.action_status` | `string` | For a composite action, the current result of the composite action. |

content/code-security/concepts/supply-chain-security/about-the-dependabot-yml-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The `dependabot.yml` file controls how {% data variables.product.prodname_depend
4343

4444
## Where to store the `dependabot.yml` file
4545

46-
You must store this file in the `.github` directory of your repository in the default branch (typically `main`). The path is: `.github/dependabot.yml`.
46+
You must store this file in the `.github` directory of your repository in the default branch (typically `main`), at `.github/dependabot.yml` or `.github/dependabot.yaml`.
4747

4848
## How the `dependabot.yml` file works
4949

0 commit comments

Comments
 (0)