Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Action (0.17 sec)

  1. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    import model.Stage
    
    enum class TestSplitType(val action: String) {
        INCLUDE("include"), EXCLUDE("exclude")
    }
    
    fun prepareTestClassesStep(os: Os, type: TestSplitType, testClasses: List<String>): BuildSteps.() -> Unit {
        val action = type.action
        val unixScript = """
    mkdir -p test-splits
    rm -rf test-splits/*-test-classes.properties
    cat > test-splits/$action-test-classes.properties << EOL
    ${testClasses.joinToString("\n")}
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. .cm/lacks_tests.cm

        run:
          - action: add-label@v1
            args:
              label: "⚠️ Lacks Tests"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
              comment: |
                :warning: This PR appears to be lacking tests.  Consider adding tests to cover the new functionality.
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

         */
        private
        val CODEQL_ENVIRONMENT_VARIABLES = arrayOf(
            "CODEQL_JAVA_HOME",
            "CODEQL_EXTRACTOR_JAVA_SCRATCH_DIR",
            "CODEQL_ACTION_RUN_MODE",
            "CODEQL_ACTION_VERSION",
            "CODEQL_DIST",
            "CODEQL_PLATFORM",
            "CODEQL_RUNNER"
        )
    
        private
        val architecture = System.getProperty("os.arch").toLowerCase()
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  4. .cm/complex_changes.cm

        run:
          - action: set-required-approvals@v1
            args:
              approvals: 2
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    # This section could also appear ahead of the automations section.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. .cm/add_usual_expert.cm

    # -*- mode: yaml -*-
    manifest:
      version: 1.0
    
    # The `automations` section lists automations to run on PRs in this repository.
    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    import gradlebuild.integrationtests.tasks.IntegrationTest
    import gradlebuild.modules.extension.ExternalModulesExtension
    import gradlebuild.testing.services.BuildBucketProvider
    import org.gradle.api.Action
    import org.gradle.api.Project
    import org.gradle.api.artifacts.Configuration
    import org.gradle.api.attributes.Category
    import org.gradle.api.attributes.LibraryElements
    import org.gradle.api.attributes.Usage
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. .cm/misc_labels.cm

          - {{ is.docs }}
        run:
          - action: add-label@v1
            args:
              label: 'a:documentation'
    
      # Add the a:chore label and auto-approve formatting-only changes
      formatting_only:
        if:
          - {{ ('misc_labels' | isEnabledAutomation(pr)) }}
          - {{ is.formatting }}
        run:
          - action: add-label@v1
            args:
              label: 'a:chore'
          - action: approve@v1
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. .cm/includes_todos.cm

        run:
          - action: add-label@v1
            args:
              label: "⚠️ Includes TODOs"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
              comment: |
                :warning: 'There are new TODOs present in this change.  Should any be removed?'
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                        KillLeakingJavaProcesses.pkill(pid)
                    }
                }
            }
        }
    
        private
        fun forEachJavaProcess(action: (pid: String, line: String) -> Unit) {
            KillLeakingJavaProcesses.forEachLeakingJavaProcess(parameters.rootProjectDir.asFile.get(), action)
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. .cm/estimated_time_to_review.cm

          - {{ ('estimated_time_to_review' | isEnabledAutomation(pr)) }}
        run:
          - action: add-label@v1
            # etr is defined in the last section of this example
            args:
              label: "{{ calc.etr }} min review"
              color: {{ 'E94637' if (calc.etr >= 20) else ('FBBD10' if (calc.etr >= 5) else '36A853') }}
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top