From 83bb60496fddfd720e8cb195c1d9f4bd91bfd28c Mon Sep 17 00:00:00 2001 From: j-dunham Date: Tue, 13 Sep 2022 18:45:01 -0400 Subject: [PATCH] Update circle_ci/4-custom-transformers.md Co-authored-by: Ethan Dennis --- circle_ci/4-custom-transformers.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle_ci/4-custom-transformers.md b/circle_ci/4-custom-transformers.md index f550398..5f9eb8e 100644 --- a/circle_ci/4-custom-transformers.md +++ b/circle_ci/4-custom-transformers.md @@ -146,7 +146,8 @@ Now you can perform another `dry-run` command with the `--custom-transformers` C ``` ## Custom transformers for resource class: -You can use custom transformers to change the runner associated with a `resource_class`. In the example pipeline the setup job is using a `large` resource class runner. You want to change that to the correct runner name in GitHub Actions, which is some-large-runner. + +You can also use custom transformers to change the runner for a job that defines a `resource_class` attribute. In the example pipeline, the `setup` job uses a `resource_class` of `large` to dictate the machine used to execute the job. In this scenario, you may want to use this value to perform the `setup` job on a runner with the label of `some-large-runner` in Actions. To do this, add the following code to the `transformers.rb` file.