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
12 changes: 12 additions & 0 deletions .github/workflows/license-header-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: License Header Checker

on: [push, pull_request]

jobs:
license-header-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Add License Header
run: npx @kt3k/license-checker@3.2.2
35 changes: 35 additions & 0 deletions .licenserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"**/*.*": [
" Copyright OpenSearch Contributors",
" SPDX-License-Identifier: Apache-2.0"
],
"ignore": [
".md",
".json",
".yml",
".yaml",
".txt",
".xml",
".config",
".png",
".jar",
".gz",
".lock",
".toml",
".ini",
".bat",
".policy",
".properties",
".git",
".gitignore",
".whitesource",
".gradle",
"gradle/wrapper",
"settings.gradle",
"**/build/",
"licenses/",
"src/test/resources/",
"LICENSE",
"NOTICE"
]
}
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import java.nio.file.Files
import org.opensearch.gradle.testclusters.OpenSearchCluster
import org.opensearch.gradle.testclusters.StandaloneRestIntegTestTask
Expand Down
5 changes: 5 additions & 0 deletions formatter/formatting.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

allprojects {
// Only wire the Eclipse JDT step when a spotless task is actually being run, so non-spotless
// Gradle invocations (test, assemble) don't provision the formatter at configuration time.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0

org.opensearch.flowframework.FlowFrameworkResourceSharingExtension
Loading