From c58c1696d2ed1f98f724f95c231e516b4865d3fe Mon Sep 17 00:00:00 2001 From: Roger Barker Date: Thu, 15 Aug 2024 15:42:39 -0500 Subject: [PATCH] ci: update self hosted runner label and codeowners Signed-off-by: Roger Barker --- .github/CODEOWNERS | 23 ++++++++++++----------- .github/workflows/pr-checks.yaml | 2 +- .github/workflows/pr-formatting.yaml | 2 +- .github/workflows/release-push-image.yaml | 4 ++-- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8d9782bf9..c9e56eb7b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,7 +2,7 @@ ##### Global Protection Rule ###### ################################### # NOTE: This rule is overriden by the more specific rules below. This is the catch-all rule for all files not covered by the more specific rules below -* @hashgraph/block-node +* @hashgraph/block-node ######################### ##### Core Files ###### @@ -11,23 +11,24 @@ # NOTE: Must be placed last to ensure enforcement over all other rules # Protection Rules for Github Configuration Files and Actions Workflows -/.github/ @hashgraph/release-engineering @hashgraph/release-engineering-managers -/.github/workflows/ @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node +/.github/ @hashgraph/devops-ci @hashgraph/release-engineering-managers +/.github/workflows/ @hashgraph/devops-ci @hashgraph/devops-ci-committers # Codacy Tool Configurations -/config/ @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node -.remarkrc @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node +/config/ @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers +.remarkrc @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers # Self-protection for root CODEOWNERS files (this file should not exist and should definitely require approval) -/CODEOWNERS @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node +/CODEOWNERS @hashgraph/release-engineering-managers # Protect the repository root files -/README.md @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node -**/LICENSE @hashgraph/release-engineering @hashgraph/release-engineering-managers +/README.md @hashgraph/devops-ci @hashgraph/release-engineering-managers +**/LICENSE @hashgraph/release-engineering-managers + # CodeCov configuration -**/codecov.yml @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node +**/codecov.yml @hashgraph/devops-ci @hashgraph/release-engineering-managers # Git Ignore definitions -**/.gitignore @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node -**/.gitignore.* @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/block-node +**/.gitignore @hashgraph/devops-ci @hashgraph/release-engineering-managers +**/.gitignore.* @hashgraph/devops-ci @hashgraph/release-engineering-managers diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml index 9efb2ad4b..af3d7e960 100644 --- a/.github/workflows/pr-checks.yaml +++ b/.github/workflows/pr-checks.yaml @@ -33,7 +33,7 @@ env: jobs: compile: name: "Gradle Checks" - runs-on: [ self-hosted, Linux, medium, ephemeral ] + runs-on: block-node-linux-medium steps: - name: Harden Runner uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 diff --git a/.github/workflows/pr-formatting.yaml b/.github/workflows/pr-formatting.yaml index cc9ea35c0..961720d0b 100644 --- a/.github/workflows/pr-formatting.yaml +++ b/.github/workflows/pr-formatting.yaml @@ -42,7 +42,7 @@ permissions: jobs: pr-formatting-checks: name: PR Formatting Checks - runs-on: [self-hosted, Linux, medium, ephemeral] + runs-on: block-node-linux-medium steps: - name: Check PR Title id: title-check diff --git a/.github/workflows/release-push-image.yaml b/.github/workflows/release-push-image.yaml index ef24321b8..ef2de4da8 100644 --- a/.github/workflows/release-push-image.yaml +++ b/.github/workflows/release-push-image.yaml @@ -44,7 +44,7 @@ env: jobs: publish: - runs-on: [self-hosted, Linux, medium, ephemeral] + runs-on: block-node-linux-medium steps: - name: Harden Runner @@ -103,7 +103,7 @@ jobs: helm-chart-release: needs: publish - runs-on: [ self-hosted, Linux, medium, ephemeral ] + runs-on: block-node-linux-medium permissions: contents: write