Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Action (0.15 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. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiAggregateReportTask.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.incubation.tasks
    
    import gradlebuild.incubation.action.IncubatingApiReportAggregationWorkAction
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.ConfigurableFileCollection
    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.tasks.CacheableTask
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 30 09:32:11 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

            }
    
            val taskPath = event.descriptor.taskPath
            if (shouldInclude(taskPath)) {
                action(taskPath, event.result)
            }
        }
    
        protected open fun shouldInclude(taskPath: String): Boolean = parameters.monitoredTaskPaths.get().contains(taskPath)
    
        abstract fun action(taskPath: String, taskResult: TaskOperationResult)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

        fun configureKotlinCompilerIoForWindowsSupport() =
            org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback()
    }
    
    
    private
    inline fun <T : Any?> Disposable.use(action: Disposable.() -> T) =
        try {
            action(this)
        } finally {
            Disposer.dispose(this)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. .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)
  8. .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)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

            // https://github.com/gradle/gradle/issues/21351
            return super.shouldInclude(taskPath) || taskPath.contains("ktlintMainSourceSetCheck")
        }
    
        override fun action(taskPath: String, taskResult: TaskOperationResult) {
            if (taskResult is TaskFailureResult) {
                failedTaskPaths.add(taskPath)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (1)
  10. .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)
Back to top