Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: "Debug event.json"
if: ${{ !github.event.act }}
Expand Down
8 changes: 8 additions & 0 deletions docs/guides/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ pageClass: examples-page
</details>
<details><summary>Specify environment variables</summary>

<!-- prettier-ignore-start -->

::: code-group
<<< @/snippets/examples/steps/env.yaml {yaml} [File ~vscode-icons:folder-type-github~]
<<< @/snippets/examples/steps/yaml.yaml {yaml} [YAML ~vscode-icons:file-type-yaml-official~]
<<< @/snippets/examples/steps/json.yaml {yaml} [JSON ~vscode-icons:file-type-json~]
:::

<!-- prettier-ignore-end -->

To set the environment from outputs, see the [hashicorp/vault-action](#multi-step) example.

</details>
Expand All @@ -43,11 +47,15 @@ To set the environment from outputs, see the [hashicorp/vault-action](#multi-ste
</details>
<details><summary>Multiline YAML/JSON data input</summary>

<!-- prettier-ignore-start -->

::: code-group
<<< @/snippets/examples/steps/yaml.yaml {yaml} [YAML ~vscode-icons:file-type-yaml-official~]
<<< @/snippets/examples/steps/json.yaml {yaml} [JSON ~vscode-icons:file-type-json~]
:::

<!-- prettier-ignore-end -->

</details>
<details><summary>Only run on release events</summary>

Expand Down
4 changes: 4 additions & 0 deletions docs/guides/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ Add the step to an existing workflow or create a new one.

_If creating a [new workflow](https://docs.github.com/en/actions/concepts/workflows-and-actions/workflows#about-workflows), place it in the `.github/workflows` directory._

<!-- prettier-ignore-start -->

::: code-group
<<< @/snippets/guides/get-started/step.yaml {4,5 yaml} [Existing Workflow ~vscode-icons:folder-type-github~]
<<< @/snippets/guides/get-started/workflow.yaml {15,16 yaml} [New Workflow ~vscode-icons:folder-type-github~]
:::

<!-- prettier-ignore-end -->

**Make sure to update the highlighted lines and add your [secrets](#secrets).**

The only 3 required inputs are [token](../docs/inputs.md#token), [url](../docs/inputs.md#url), and [name](../docs/inputs.md#name).
Expand Down
Loading