diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 40e0a9b2b..0c7a4002f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,5 @@ # Default code owners for entire repository -* @hashgraph/hedera-sdk-java-maintainers +* @hiero-ledger/hiero-sdk-java-maintainers ######################### ##### Core Files ###### @@ -8,34 +8,35 @@ # NOTE: Must be placed last to ensure enforcement over all other rules # Protection Rules for Github Configuration Files and Actions Workflows -/.github/ @hashgraph/platform-ci @hashgraph/release-engineering-managers -/.github/workflows/ @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers +/.github/ @hiero-ledger/github-maintainers @hiero-ledger/github-committers +/.github/workflows/ @hiero-ledger/github-maintainers @hiero-ledger/github-committers +/.github/dependabot.yml @hiero-ledger/github-maintainers @hiero-ledger/github-committers @hiero-ledger/hiero-sdk-java-maintainers @hiero-ledger/hiero-sdk-java-committers # Legacy Maven project files -**/pom.xml @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers @hashgraph/hedera-sdk-java-maintainers +**/pom.xml @hiero-ledger/github-maintainers @hiero-ledger/github-committers @hiero-ledger/hiero-sdk-java-maintainers # Gradle project files and inline plugins -/gradle/ @hashgraph/platform-ci @hashgraph/platform-ci-committers -gradlew @hashgraph/platform-ci @hashgraph/platform-ci-committers -gradlew.bat @hashgraph/platform-ci @hashgraph/platform-ci-committers -**/build-logic/ @hashgraph/platform-ci @hashgraph/platform-ci-committers -**/gradle.* @hashgraph/platform-ci @hashgraph/platform-ci-committers -**/*.gradle.* @hashgraph/platform-ci @hashgraph/platform-ci-committers +/gradle/ @hiero-ledger/github-maintainers @hiero-ledger/github-committers +gradlew @hiero-ledger/github-maintainers @hiero-ledger/github-committers +gradlew.bat @hiero-ledger/github-maintainers @hiero-ledger/github-committers +**/build-logic/ @hiero-ledger/github-maintainers @hiero-ledger/github-committers +**/gradle.* @hiero-ledger/github-maintainers @hiero-ledger/github-committers +**/*.gradle.* @hiero-ledger/github-maintainers @hiero-ledger/github-committers # Codacy Tool Configurations -/config/ @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers @hashgraph/hedera-sdk-java-maintainers -.remarkrc @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers @hashgraph/hedera-sdk-java-maintainers +/config/ @hiero-ledger/github-maintainers @hiero-ledger/github-committers @hiero-ledger/hiero-sdk-java-maintainers +.remarkrc @hiero-ledger/github-maintainers @hiero-ledger/github-committers @hiero-ledger/hiero-sdk-java-maintainers # Self-protection for root CODEOWNERS files (this file should not exist and should definitely require approval) -/CODEOWNERS @hashgraph/release-engineering-managers +/CODEOWNERS @hiero-ledger/github-maintainers # Protect the repository root files -/README.md @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers @hashgraph/hedera-sdk-java-maintainers -**/LICENSE @hashgraph/release-engineering-managers +/README.md @hiero-ledger/github-maintainers @hiero-ledger/github-committers @hiero-ledger/hiero-sdk-java-maintainers +**/LICENSE @hiero-ledger/github-maintainers @hiero-ledger/hiero-sdk-java-maintainers # CodeCov configuration -**/codecov.yml @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers +**/codecov.yml @hiero-ledger/github-maintainers @hiero-ledger/github-committers # Git Ignore definitions -**/.gitignore @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers -**/.gitignore.* @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers +**/.gitignore @hiero-ledger/github-maintainers @hiero-ledger/github-committers @hiero-ledger/hiero-sdk-java-maintainers @hiero-ledger/hiero-sdk-java-committers +**/.gitignore.* @hiero-ledger/github-maintainers @hiero-ledger/github-committers @hiero-ledger/hiero-sdk-java-maintainers @hiero-ledger/hiero-sdk-java-committers diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf4b65d61..ed70496ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ env: jobs: build: name: Build - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - name: Harden Runner uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 @@ -55,7 +55,7 @@ jobs: test: name: Unit and Integration Tests - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium needs: - build steps: @@ -114,7 +114,7 @@ jobs: run-examples: name: Run Examples - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium needs: - build steps: @@ -169,7 +169,7 @@ jobs: test-tck: name: TCK Tests - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium needs: - build steps: diff --git a/.github/workflows/disabled/main.yml b/.github/workflows/disabled/main.yml index d0dae7d70..c390b2713 100644 --- a/.github/workflows/disabled/main.yml +++ b/.github/workflows/disabled/main.yml @@ -1,19 +1,20 @@ +# SPDX-License-Identifier: Apache-2.0 name: Hedera Services Main on: schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" jobs: test: - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium strategy: matrix: - version: [ 'current', 'latest' ] + version: ["current", "latest"] steps: - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.gradle/caches @@ -22,12 +23,12 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Set up JDK 12 - uses: actions/setup-java@v2 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: - java-version: '12' - distribution: 'adopt' + java-version: "12" + distribution: "adopt" - name: Fetch Hedera Services - uses: actions/checkout@v2 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: hashgraph/hedera-services path: hedera-services @@ -50,12 +51,12 @@ jobs: working-directory: hedera-services run: docker build -t services-node:$TAG . - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: - java-version: '17.0.13' - distribution: 'adopt' + java-version: "17.0.13" + distribution: "adopt" - name: Fetch Hedera SDK - uses: actions/checkout@v2 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: hedera-sdk-java - name: Run Hedera SDK Tests diff --git a/.github/workflows/disabled/previewnet.yml b/.github/workflows/disabled/previewnet.yml index 91cb0285d..8691c6364 100644 --- a/.github/workflows/disabled/previewnet.yml +++ b/.github/workflows/disabled/previewnet.yml @@ -1,22 +1,23 @@ +# SPDX-License-Identifier: Apache-2.0 name: Previewnet on: schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" jobs: build: - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: - java-version: '17.0.13' - distribution: 'adopt' + java-version: "17.0.13" + distribution: "adopt" - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.gradle/caches @@ -28,17 +29,17 @@ jobs: run: ./gradlew build test: - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: - java-version: '17.0.13' - distribution: 'adopt' + java-version: "17.0.13" + distribution: "adopt" - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.gradle/caches diff --git a/.github/workflows/disabled/testnet.yml b/.github/workflows/disabled/testnet.yml index 6901e5d21..56f0bbe4a 100644 --- a/.github/workflows/disabled/testnet.yml +++ b/.github/workflows/disabled/testnet.yml @@ -1,24 +1,25 @@ +# SPDX-License-Identifier: Apache-2.0 name: Testnet on: schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" jobs: compile: - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: - java-version: '17.0.13' - distribution: 'adopt' + java-version: "17.0.13" + distribution: "adopt" - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.gradle/caches @@ -36,19 +37,19 @@ jobs: run: ./gradlew :examples:compileJava build: - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: - java-version: '17.0.13' - distribution: 'adopt' + java-version: "17.0.13" + distribution: "adopt" - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.gradle/caches @@ -57,7 +58,7 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Cache SonarCloud packages - uses: actions/cache@v1 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar @@ -69,17 +70,17 @@ jobs: run: ./gradlew build sonarqube --info test: - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 with: - java-version: '17.0.13' - distribution: 'adopt' + java-version: "17.0.13" + distribution: "adopt" - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.gradle/caches @@ -94,7 +95,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} run: | ./gradlew -POPERATOR_ID=$OPERATOR_ID -POPERATOR_KEY=$OPERATOR_KEY -PHEDERA_NETWORK=testnet :aggregation:testCodeCoverageReport && bash <(curl -s https://codecov.io/bash) - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 78213c30b..aacab6b34 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -22,7 +22,7 @@ env: jobs: publish: name: Publish - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - name: Harden Runner uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 18e815744..1510289fd 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -28,7 +28,7 @@ env: jobs: validate-release: name: Validate Release - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium steps: - name: Harden Runner uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 @@ -73,7 +73,7 @@ jobs: maven-central: name: Publish to Maven Central - runs-on: client-sdk-linux-medium + runs-on: hiero-client-sdk-linux-medium needs: # This needs clause exists solely to provide a dependency on the previous step. This publish step will not occur # until the validate-release step completes successfully.