From a815c3761457b6314eebeafbc1acbdf55b3a2f4c Mon Sep 17 00:00:00 2001 From: Patrick Ellis Date: Wed, 25 Aug 2021 04:13:20 -0400 Subject: [PATCH] docs: fix a few small YAML typos (#763) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove two extra colons that were making the yaml invalid 🕵️ - Add `yaml` tags to the markdown blocks 🧹 --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 54ffb69a..4f5a0054 100644 --- a/README.md +++ b/README.md @@ -580,7 +580,7 @@ spec: ###### Example 2: Scale on each `pull_request` event against `develop` or `main` branches ```yaml -kind: RunnerDeployment: +kind: RunnerDeployment metadata: name: myrunners spec: @@ -606,7 +606,7 @@ See ["activity types"](https://docs.github.com/en/actions/reference/events-that- > This feature depends on an unreleased GitHub feature ```yaml -kind: RunnerDeployment: +kind: RunnerDeployment metadata: name: myrunners spec: @@ -665,7 +665,7 @@ usually, this feature is used for following scenarios: For the first scenario, you might consider configuration like the below: -``` +```yaml apiVersion: actions.summerwind.dev/v1alpha1 kind: HorizontalRunnerAutoscaler metadata: @@ -686,7 +686,7 @@ spec: For the second scenario, you might consider something like the below: -``` +```yaml apiVersion: actions.summerwind.dev/v1alpha1 kind: HorizontalRunnerAutoscaler metadata: @@ -986,7 +986,7 @@ Note that there's no official Istio integration in actions-runner-controller. It A basic `RunnerSet` would look like this: -``` +```yaml apiVersion: actions.summerwind.dev/v1alpha1 kind: RunnerSet metadata: @@ -1018,7 +1018,7 @@ Similarly, container-related fields like resource requests and limits, container For a more complex example, see the below: -``` +```yaml apiVersion: actions.summerwind.dev/v1alpha1 kind: RunnerSet metadata: @@ -1094,7 +1094,7 @@ GitHub seems to be adding an another flag called `--ephemeral` that is race-free For example, a `RunnerSet` config with the flag enabled looks like: -``` +```yaml kind: RunnerSet metadata: name: example-runnerset